1# makefile written for gnu make 2CXX = /usr/local/gcc-3.1/bin/g++ 3SRC = ../src 4CPPFLAGS = -I$(SRC) 5DEBUG = -g 6#OPTIMIZE = -O2 7GCCWARN = -Wall -Wstrict-prototypes 8CXXFLAGS = $(DEBUG) $(GCCWARN) $(OPTIMIZE) $(INCLUDES) 9 10LIB = ../libXmlRpc.a 11 12# Add your system-dependent network libs here 13# Solaris: -lsocket -lnsl 14SYSTEMLIBS = 15 16LDLIBS = $(SYSTEMLIBS) $(LIB) 17 18TESTS = HelloClient HelloServer TestBase64Client TestBase64Server TestValues TestXml Validator 19 20all: $(TESTS) 21 22$(TESTS): $(LIB) 23 24clean: 25 rm -f *.o 26 rm -f $(TESTS) 27