]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
# rules to generate the program. let is be dependent on the global flags for
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Oct 2004 00:57:07 +0000 (00:57 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Oct 2004 00:57:07 +0000 (00:57 +0000)
# the following reason: if you go to a different system, but keep with the
# same directory, you get into trouble because make_dependencies is not
# deleted by "make clean"; following this, we generate empty Makefile.dep's
# because we can't run the executable. So better be careful and regenerate
# make_dependencies whenever we think it may be beneficial

git-svn-id: https://svn.dealii.org/trunk@9690 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/Makefile

index 41ff2f10f6ecdab129184ebf911fb158106c0aac..448b4a17b0a23d90f333db5bdc876fefac8a5823 100644 (file)
@@ -14,7 +14,13 @@ ifeq ($(GXX-VERSION),compaq_cxx)
   XLDFLAGS = $(LDFLAGS:-shared=)
 endif
 
-make_dependencies : make_dependencies.cc
+# rules to generate the program. let is be dependent on the global flags for
+# the following reason: if you go to a different system, but keep with the
+# same directory, you get into trouble because make_dependencies is not
+# deleted by "make clean"; following this, we generate empty Makefile.dep's
+# because we can't run the executable. So better be careful and regenerate
+# make_dependencies whenever we think it may be beneficial
+make_dependencies : make_dependencies.cc $D/common/Make.global_options
        @echo ============================ Compiling $@
        @$(CXX) $(CXXFLAGS.o) -c $<
        @$(CXX) $(LDFLAGS) -o $@ make_dependencies.o

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.