From: wolf Date: Fri, 8 Jul 2005 16:08:47 +0000 (+0000) Subject: Use $(OBJEXT) instead of .o. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c29fd46777efb98cf2dd98156695447d0d2f337;p=dealii-svn.git Use $(OBJEXT) instead of .o. git-svn-id: https://svn.dealii.org/trunk@11118 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/doxygen/Makefile b/deal.II/examples/doxygen/Makefile index 2601763194..7fffc054c8 100644 --- a/deal.II/examples/doxygen/Makefile +++ b/deal.II/examples/doxygen/Makefile @@ -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