aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/makefile
diff options
context:
space:
mode:
authorjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2003-02-03 08:57:03 +0000
committerjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2003-02-03 08:57:03 +0000
commitdafece75bdcadeb7e418e3548720278f78bc7173 (patch)
tree790efb0387928927adc11ffbdce3c2c6750ed326 /src/GeneralizedPolynomial-Uniform/makefile
parent49a560ba3f723f54026ae32e599ee20c39e4394d (diff)
add LocalInterp_Strlcpy() function
for safer string copying, also standalone test driver for this to make sure I have it right! git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@131 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/makefile')
-rw-r--r--src/GeneralizedPolynomial-Uniform/makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/makefile b/src/GeneralizedPolynomial-Uniform/makefile
index 752cb59..97920f1 100644
--- a/src/GeneralizedPolynomial-Uniform/makefile
+++ b/src/GeneralizedPolynomial-Uniform/makefile
@@ -1,5 +1,8 @@
# Makefile for standalone test programs in this directory
-# $Header: /mnt/data2/cvs2svn/cvs-repositories/arrangements/CactusBase/LocalInterp/src/GeneralizedPolynomial-Uniform/makefile,v 1.5 2002-09-02 10:21:03 jthorn Exp $
+# $Header: /mnt/data2/cvs2svn/cvs-repositories/arrangements/CactusBase/LocalInterp/src/GeneralizedPolynomial-Uniform/makefile,v 1.6 2003-02-03 08:57:03 jthorn Exp $
+
+.PHONY : all
+all : test_molecule_posn test_strlcpy
test_molecule_posn : test_molecule_posn.c molecule_posn.c \
InterpLocalUniform.h
@@ -9,3 +12,15 @@ test_molecule_posn : test_molecule_posn.c molecule_posn.c \
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
-DLOCALINTERP_STANDALONE_BUILD -o test_molecule_posn \
test_molecule_posn.c molecule_posn.c -lm
+
+test_strlcpy : test_strlcpy.c util.c InterpLocalUniform.h
+ gcc -g \
+ -Wall -W -Wno-unused -Wshadow -Winline -Wpointer-arith \
+ -Wbad-function-cast -Wcast-align -Wcast-qual \
+ -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
+ -DLOCALINTERP_STANDALONE_BUILD -o test_strlcpy \
+ test_strlcpy.c util.c
+
+.PHONY : clean
+clean :
+ -rm test_molecule_posn test_strlcpy