Fixed filenames.
Fixed for loops in Makefile.