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