Makefile Sample
//Makefile
GSOAP_ROOT = F:\gsoap-2.8\gsoap WSNAME = hello CC = g++ -g -DWITH_NONAMESPACES INCLUDE = -I $(GSOAP_ROOT) SERVER_OBJS =soapC.o stdsoap2.o soapServer.o $(WSNAME)server.o CLIENT_OBJS =soapC.o stdsoap2.o soapClient.o $(WSNAME)client.o all: genner client server genner: soapcpp2 hello.h server: $(SERVER_OBJS) $(CC) $(INCLUDE) -o $(WSNAME)server $(SERVER_OBJS) -static-libgcc -lws2_32 client: $(CLIENT_OBJS) $(CC) $(INCLUDE) -o $(WSNAME)client $(CLIENT_OBJS) -static-libgcc -lws2_32 clean: rm -f *.o *.xml *.a *.wsdl *.nsmap soap* $(WSNAME)Stub.* $(WSNAME)server ns.xsd $(WSNAME)test