summaryrefslogtreecommitdiff
path: root/openvpn/service-win32/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-06-16 01:08:34 +0000
committerChristian Pointner <equinox@anytun.org>2007-06-16 01:08:34 +0000
commitbd379231f2d4b22b473fd7f428e518462fb7476a (patch)
tree7643fa58ffe7123cc08e7784f204efe9f5b5970e /openvpn/service-win32/Makefile
parentremoved openvpn source files (diff)
added all the openvpn stuff
Diffstat (limited to 'openvpn/service-win32/Makefile')
-rwxr-xr-xopenvpn/service-win32/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/openvpn/service-win32/Makefile b/openvpn/service-win32/Makefile
new file mode 100755
index 0000000..027b6dd
--- /dev/null
+++ b/openvpn/service-win32/Makefile
@@ -0,0 +1,25 @@
+# This makefile builds the OpenVPN win32 service
+# wrapper using the mingw environment.
+#
+# service.c and service.h should be generated by
+# applying service.patch to the Platform
+# SDK service sample.
+
+EXE = openvpnserv.exe
+
+HEADERS = service.h
+
+OBJS = openvpnserv.o service.o
+
+INCLUDE_DIRS =
+
+CC = gcc -g -O2 -Wall -Wno-unused-function -Wno-unused-variable -mno-cygwin
+
+all : ${OBJS}
+ ${CC} -o ${EXE} ${OBJS}
+
+clean :
+ rm -f ${OBJS} ${EXE}
+
+%.o : %.c ${HEADERS}
+ ${CC} ${INCLUDE_DIRS} -c $< -o $@