aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-07-03 11:01:09 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-07-03 11:01:09 +0000
commitba32debaf88fedd6f7d772b400eb4266a0aaa97d (patch)
treea9d92bb189ee67597e1fb25c1ab6e0b2c372288a
parent179b898ae71c19e09efa49920cb18c7e79b6adcc (diff)
change to link test programs with all libraries in current directory
and also ../libutil/libutil.a (which may or may not be "in the current directory") ... and with -lm too git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@124 f88db872-0e4f-0410-b76b-b9085cfa78c5
-rw-r--r--src/jtutil/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtutil/Makefile b/src/jtutil/Makefile
index cd96f90..c0bae45 100644
--- a/src/jtutil/Makefile
+++ b/src/jtutil/Makefile
@@ -1,5 +1,5 @@
# Makefile for utility libraries
-# $Id: Makefile,v 1.6 2001-06-29 13:38:58 jthorn Exp $
+# $Id: Makefile,v 1.7 2001-07-03 11:01:09 jthorn Exp $
#
# This Makefile can be called either as part of a Cactus build
# (in which case it expects the usual Cactus Makefile variables to be
@@ -87,7 +87,7 @@ $(LIB_CCFILES:.cc=.o) : %.o : %.cc
.PHONY : test
test : $(TEST_BINARIES)
-$(TEST_BINARIES): %: %.cc -lutil
+$(TEST_BINARIES): %: %.cc $(wildcard *.a) ../libutil/libutil.a -lm
$(CXX) $(CXXFLAGS) -o $@ $^
.PHONY : cg