]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Seems as if generation of dependency information was broken. Fix this.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 10 Jun 2002 10:20:25 +0000 (10:20 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 10 Jun 2002 10:20:25 +0000 (10:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@6039 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-14/Makefile

index 2780e004977524ac0e3a81b80576d25b417f120a..e3b56ba572faa366885aba474fe0f0bfb2ce4dbd 100644 (file)
@@ -72,7 +72,7 @@ libs.o   = $(lib-deal2-2d.o) \
 # file. Note that by default we use the extension .go for object files
 # compiled in debug mode and .o for object files in optimized mode.
 ifeq ($(debug-mode),on)
-  libraries = $(target).go $(libs.g)
+  libraries = $(target).g.o $(libs.g)
   flags     = $(CXXFLAGS.g)
 else
   libraries = $(target).o $(libs.o)
@@ -114,10 +114,10 @@ clean:
 # compiler are usually not of much interest, we suppress the actual
 # command line using the `at' sign in the first column of the rules
 # and write the string indicating what we do instead.
-%.go : %.cc
+./%.g.o :
        @echo ==============debug========= $(<F)
        @$(CXX) $(CXXFLAGS.g) -c $< -o $@
-%.o : %.cc
+./%.o :
        @echo ==============optimized===== $(<F)
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
@@ -148,7 +148,7 @@ Makefile.dep: $(target).cc Makefile \
                            $(include-path-lac)/lac/*.h      \
                            $(include-path-deal2)/*/*.h)
        @echo ============================ Remaking Makefile
-       @$(PERL) $D/common/scripts/make_dependencies.pl  $(INCLUDE) $(target).cc \
+       @$(PERL) $D/common/scripts/make_dependencies.pl  $(INCLUDE) -B. $(target).cc \
                | $(PERL) -pi -e 's!lib/g?o/!!g;' \
                > Makefile.dep
 

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.