aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-07-19 16:53:00 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-07-19 16:53:00 +0200
commit89191dff422130c9515aeac1d1460aa27207cf85 (patch)
tree0ef80a1ae59619a5002359293b85cc52a13cb029 /Makefile
parentf757b9d313efb1aebfdd4c90925d2de1688a909d (diff)
nDPIsrvd: UNIX/INET socket creation
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cafb21243..a61a901d7 100644
--- a/Makefile
+++ b/Makefile
@@ -35,11 +35,16 @@ endif
RM = rm -f
+all: nDPId nDPIsrvd
+
nDPId: help nDPId.c
$(CC) $(PROJECT_CFLAGS) $(CFLAGS) nDPId.c -o $@ $(LDFLAGS) $(LIBS)
+nDPIsrvd: nDPIsrvd.c
+ $(CC) $(PROJECT_CFLAGS) $(CFLAGS) nDPIsrvd.c -o $@ $(LDFLAGS) $(LIBS)
+
clean:
- $(RM) nDPId
+ $(RM) -f nDPId nDPIsrvd
help:
@echo 'CC = $(CC)'
@@ -51,4 +56,4 @@ help:
@echo 'ENABLE_SANITIZER = $(ENABLE_SANITIZER)'
@echo 'ENABLE_SANITIZER_THREAD = $(ENABLE_SANITIZER_THREAD)'
-.PHONY: help
+.PHONY: all clean help