]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use $(OBJEXT) instead of .o.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Jul 2005 16:08:47 +0000 (16:08 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Jul 2005 16:08:47 +0000 (16:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@11118 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/doxygen/Makefile

index 2601763194d39beb2c0bc2aebf5c0d6929970948..7fffc054c88a0f584d5218c63caa21e803f99f35 100644 (file)
@@ -18,7 +18,7 @@ all: product_matrix.exe block_matrix_array.exe
 # Compilation of source code
 ######################################################################
 
-%.o : %.cc
+%.$(OBJEXT) : %.cc
        @echo =====debug======$(MT)== $<
        @$(CXX) $(CXXFLAGS.g) $(CXXFLAGS) -c $< -o $@
 
@@ -26,11 +26,11 @@ all: product_matrix.exe block_matrix_array.exe
 # Specific targets
 ######################################################################
 
-block_matrix_array.exe: block_matrix_array.o $(lib-lac.g) $(lib-base.g)
+block_matrix_array.exe: block_matrix_array.$(OBJEXT) $(lib-lac.g) $(lib-base.g)
        @echo =====linking====$(MT)== $<
        @$(CXX) $(CXXFLAGS.g) $(LDFLAGS) -o $@ $^ $(LIBS)
 
-product_matrix.exe: product_matrix.o $(lib-lac.g) $(lib-base.g)
+product_matrix.exe: product_matrix.$(OBJEXT) $(lib-lac.g) $(lib-base.g)
        @echo =====linking====$(MT)== $<
        @$(CXX) $(CXXFLAGS.g) $(LDFLAGS) -o $@ $^ $(LIBS)
 
@@ -39,4 +39,4 @@ product_matrix.exe: product_matrix.o $(lib-lac.g) $(lib-base.g)
 ######################################################################
 
 clean:
-       -rm -f *~ *.o *.exe
+       -rm -f *~ *.$(OBJEXT) *.exe

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.