]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't use gcc -M any more to generate dependencies, use out own script. Cut's down...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 Sep 2003 15:03:40 +0000 (15:03 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 Sep 2003 15:03:40 +0000 (15:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@8039 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile.rules

index 99808ba0f29b04e64408d7d241ba896794fe7a1e..add7c04845cf7bf54600c333ba26621156e43811 100644 (file)
@@ -158,8 +158,8 @@ show-tests:
 
 Makefile.depend: $(shell echo *.cc)
        @echo =====Dependencies== $@
-       @$(CXX) $(CXXFLAGS.g) $^ -M > $@
-       @perl -pi -e 's/(^[^.]+)\.$(OBJEXT):/\1.$(OBJEXT) \1.g.$(OBJEXT):/;' $@
+       @$D/common/scripts/make_dependencies $(INCLUDE) $^ \
+               | $(PERL) -pi -e 's/\.o:/.g.o:/g;' > $@
 
 
 .PHONY: report show-tests

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.