blob: 9a3cb5d18f982fb63be46dc215db39d168d81204 (
plain) (
tree)
|
|
# 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 = ${PRODUCT_UNIX_NAME}serv.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 $@
|