Created
February 19, 2015 20:50
-
-
Save khaije1/0b3d6dcb18605e01742d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the Make rules | |
$(OBJ_DIR)/%.f$(sfxObj) : %.f $(DEP_DIR)/%.f$(sfxDep) | |
$(FC) -c $< $(call fn_includes_from_src,$<) $(SHAREDFLAGS) $(FFLAGS) -o $@ | |
... | |
$(DEP_DIR)/%.f$(sfxDep) : %.f | |
$(FC) -cpp -MM -MT "$(<F)$(sfxObj)" -MF "$@" $(call fn_includes_from_src,$<) $(FFLAGS) $(CPPFLAGS) $^ | |
# genethe depend file generated by: make vscale.f.depend | |
# view vscale.f.depend | |
vscale.o vscale.f.o: \ vscale.f \ | |
inc/pltcom.inc | |
## Question: how to get rid of the 'vscale.o' target? It doesn't break anything but I consider it messy. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment