I have a FORTRAN source code consisting of many different .F and .h files. I need to build an executable from it, but I\'m having some problems. The makefile that I produc
Are you using GNU make? If so,
$(FC) $(FLFLAGS) -o $@ $<
may be the culprit. $< is the name of the first prerequisite, but you want all the *.o files. Try using $^ instead.
$<
*.o
$^