aboutsummaryrefslogtreecommitdiff
path: root/samples/events/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/events/Makefile')
-rw-r--r--samples/events/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/samples/events/Makefile b/samples/events/Makefile
new file mode 100644
index 0000000..d216712
--- /dev/null
+++ b/samples/events/Makefile
@@ -0,0 +1,23 @@
+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: event handler
+event: event.h event.c $(SOAPH) $(SOAPC)
+ $(GSOAP) -c event.h
+ $(CC) $(CFLAGS) -o event event.c soapC.c soapClient.c $(SOAPC) $(LIBS)
+handler: event.h handler.c $(SOAPH) $(SOAPC)
+ $(GSOAP) event.h
+ $(CC) $(CFLAGS) -o handler handler.c soapC.c soapClient.c soapServer.c $(SOAPC) -lpthread $(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 event handler