From fffd213c8cba2135afda493d797c41c10354770e Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Sat, 12 Apr 2008 11:38:42 +0000 Subject: big svn cleanup --- src/openvpn/service-win32/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 src/openvpn/service-win32/Makefile (limited to 'src/openvpn/service-win32/Makefile') diff --git a/src/openvpn/service-win32/Makefile b/src/openvpn/service-win32/Makefile new file mode 100755 index 0000000..027b6dd --- /dev/null +++ b/src/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 $@ -- cgit v1.2.3