From 3fdc3d713f154e472498653fc7453ec1ebe5a4cb Mon Sep 17 00:00:00 2001 From: jthorn Date: Wed, 12 Mar 2003 20:03:57 +0000 Subject: add explicit C++ compiler invocations because sometimes the C compiler was getting used to do the final linking which broke things horribly git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@964 f88db872-0e4f-0410-b76b-b9085cfa78c5 --- src/jtutil/makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/jtutil/makefile b/src/jtutil/makefile index abab2fb..337a393 100644 --- a/src/jtutil/makefile +++ b/src/jtutil/makefile @@ -1,5 +1,5 @@ # Makefile for standalone test drivers in this directory -# $Header: /usr/local/svn/cvs-repositories/numrelcvs/AEIThorns/AHFinderDirect/src/jtutil/makefile,v 1.10 2003-02-16 22:21:49 jthorn Exp $ +# $Header: /usr/local/svn/cvs-repositories/numrelcvs/AEIThorns/AHFinderDirect/src/jtutil/makefile,v 1.11 2003-03-12 20:03:57 jthorn Exp $ # # CC, CXX = C and C++ compilers. Defaults are gcc and g++ if # variables aren't set from command line or environment. @@ -35,21 +35,31 @@ test : $(ALL_TESTS) test_array : test_array.o array.o \ fuzzy.o round.o -lm + $(CXX) $(CXXFLAGS) -o $@ $? test_array2 : test_array2.o array.o + $(CXX) $(CXXFLAGS) -o $@ $? test_cpm_map : test_cpm_map.o cpm_map.o \ fuzzy.o round.o error_exit.o -lm + $(CXX) $(CXXFLAGS) -o $@ $? test_linear_map : test_linear_map.o linear_map.o \ fuzzy.o round.o error_exit.o -lm + $(CXX) $(CXXFLAGS) -o $@ $? test_fuzzy : test_fuzzy.o fuzzy.o \ round.o error_exit.o + $(CXX) $(CXXFLAGS) -o $@ $? test_round : test_round.o round.o + $(CXX) $(CXXFLAGS) -o $@ $? test_modulo : test_modulo.o miscfp.o \ fuzzy.o round.o error_exit.o -lm + $(CXX) $(CXXFLAGS) -o $@ $? test_norm : test_norm.o norm.o \ fuzzy.o round.o -lm + $(CXX) $(CXXFLAGS) -o $@ $? test_error_exit : test_error_exit.o error_exit.o + $(CXX) $(CXXFLAGS) -o $@ $? test_strlcat : test_strlcat.o miscstr.o + $(CXX) $(CXXFLAGS) -o $@ $? .PHONY : clean clean : -- cgit v1.2.3