summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 80b83c7..2b093d5 100644
--- a/Makefile
+++ b/Makefile
@@ -29,9 +29,19 @@ OPENVPNDEPS = openvpn/tun.o \
openvpn/shaper.o \
openvpn/fragment.o
+OBJS = anytun.o \
+ tunDevice.o \
+ packetSource.o \
+ buffer.o \
+ packet.o \
+ cypher.o \
+ authAlgo.o \
+ PracticalSocket.o \
+ signalController.o \
+ log.o \
+ options.o \
+ $(OPENVPNDEPS)
-
-OBJS = anytun.o tunDevice.o packetSource.o buffer.o packet.o cypher.o authAlgo.o PracticalSocket.o signalController.o log.o $(OPENVPNDEPS)
EXECUTABLE = anytun
all: $(EXECUTABLE)
@@ -66,6 +76,9 @@ PracticalSocket.o: PracticalSocket.cpp PracticalSocket.h
log.o: log.cpp log.h
$(C++) $(CCFLAGS) $< -c
+options.o: options.cpp options.h
+ $(C++) $(CCFLAGS) $< -c
+
anytun.o: anytun.cpp
$(C++) $(CCFLAGS) $< -c