aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..a539d74
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,26 @@
+# makefile written for gnu make
+CXX = /usr/local/gcc-3.1/bin/g++
+SRC = ../src
+CPPFLAGS = -I$(SRC)
+DEBUG = -g
+#OPTIMIZE = -O2
+GCCWARN = -Wall -Wstrict-prototypes
+CXXFLAGS = $(DEBUG) $(GCCWARN) $(OPTIMIZE) $(INCLUDES)
+
+LIB = ../libXmlRpc.a
+
+# Add your system-dependent network libs here
+# Solaris: -lsocket -lnsl
+SYSTEMLIBS =
+
+LDLIBS = $(SYSTEMLIBS) $(LIB)
+
+TESTS = HelloClient HelloServer TestBase64Client TestBase64Server TestValues TestXml Validator
+
+all: $(TESTS)
+
+$(TESTS): $(LIB)
+
+clean:
+ rm -f *.o
+ rm -f $(TESTS)