From 1c29fd46777efb98cf2dd98156695447d0d2f337 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 8 Jul 2005 16:08:47 +0000 Subject: [PATCH] Use $(OBJEXT) instead of .o. git-svn-id: https://svn.dealii.org/trunk@11118 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/doxygen/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5