From: wolf Date: Thu, 7 Oct 2004 00:57:07 +0000 (+0000) Subject: # rules to generate the program. let is be dependent on the global flags for X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024b701d0ebaed946664209fdb0164b313453248;p=dealii-svn.git # 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 git-svn-id: https://svn.dealii.org/trunk@9690 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/common/scripts/Makefile b/deal.II/common/scripts/Makefile index 41ff2f10f6..448b4a17b0 100644 --- a/deal.II/common/scripts/Makefile +++ b/deal.II/common/scripts/Makefile @@ -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