Fortran Makefile, o, you shouldn't use -o $@ here, change it to %.