Commit be55ff09 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

had to include object files in target lists; dependency files were of no

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.
use; modification of include files did not trigger recompilation


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 4864
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 726bcd8f
......@@ -64,6 +64,7 @@
# 13/11/2010 V1.4 replaces shell script incdep
# added documentation
# 18/11/2010 V1.5 addad target refractx as a libfapidxx test case
# 21/11/2012 V1.6 include object file in traget list in .d files
#
# ============================================================================
#
......@@ -123,8 +124,8 @@ REFOBS=refract.o $(addprefix sub/, $(REFSUB))
# Fortran dependencies
# --------------------
%.d: %.f
echo $<: $(addprefix include/,$(patsubst include/%,%,$(shell cat $< | egrep '^ +include' | cut -f 2 -d \' | sort | uniq))) > $@
-include $(patsubst %.o,%.d,$(REFOBS))
echo $< $(patsubst %.f,%.o,$<): $(addprefix include/,$(patsubst include/%,%,$(shell cat $< | egrep '^ +include' | cut -f 2 -d \' | sort | uniq))) > $@
include $(patsubst %.o,%.d,$(REFOBS))
#======================================================================
# function documentation
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment