summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9e5c414..3ba33b4 100644
--- a/Makefile
+++ b/Makefile
@@ -78,7 +78,7 @@ OBJS = anytun.o \
EXECUTABLE = anytun
-all: $(EXECUTABLE)
+all: $(EXECUTABLE) libAnysync.a
anytun: $(OBJS)
$(LD) $(OBJS) -o $@ $(LDFLAGS)
@@ -170,6 +170,13 @@ router.o: router.cpp router.h
anytun.o: anytun.cpp
$(C++) $(CCFLAGS) $< -c
+cConnectionParam.o: cConnectionParam.cpp
+ $(C++) $(CCFLAGS) $< -c
+
+libAnysync.a: $(OBJS)
+ ar cru $@ $(OBJS)
+ ranlib $@
+
clean:
rm -f *.o
rm -f $(EXECUTABLE)