aboutsummaryrefslogtreecommitdiff
path: root/samples/googleapi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/googleapi/Makefile')
-rw-r--r--samples/googleapi/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/samples/googleapi/Makefile b/samples/googleapi/Makefile
new file mode 100644
index 0000000..30b53ff
--- /dev/null
+++ b/samples/googleapi/Makefile
@@ -0,0 +1,20 @@
+GSOAP=../../soapcpp2
+SOAPH=../../stdsoap2.h
+SOAPC=../../stdsoap2.c
+SOAPCPP=../../stdsoap2.cpp
+CC=gcc
+CPP=g++
+LIBS=
+COFLAGS=-O2
+CWFLAGS=-Wall
+CIFLAGS=-I../..
+CMFLAGS=
+CFLAGS= $(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS)
+all: googleapi
+googleapi: googleapi.h googleapi.c $(SOAPH) $(SOAPC)
+ $(GSOAP) -c googleapi.h
+ $(CC) $(CFLAGS) -o googleapi googleapi.c soapC.c soapClient.c $(SOAPC) $(LIBS)
+clean:
+ rm -f *.o soapH.h soapStub.h soapC.cpp soapC.c soapClient.cpp soapClient.c soapServer.cpp soapServer.c soap*Proxy.h
+distclean:
+ rm -f *.o *.wsdl *.xsd *.xml *.nsmap *.log soapH.h soapStub.h soapC.cpp soapC.c soapClient.cpp soapClient.c soapServer.cpp soapServer.c soap*Proxy.h googleapi