summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 95db456..7fa7a01 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ TARGETS4=connecting
TARGETS5=client
TARGETS6=dumbclient
TARGETS7=listen-DGRAM
+TARGETS8=client-DGRAM
TESTTARGET=helloworld-t
TESTTARGET2=binding-t
@@ -17,6 +18,7 @@ TESTTARGET4=connecting-t
TESTTARGET5=client-t
TESTTARGET6=dumbclient-t
TESTTARGET7=listen-DGRAM-t
+TESTTARGET8=client-DGRAM-t
SRCS=hello.c
SRCS2=binding.c
@@ -25,11 +27,12 @@ SRCS4=connecting.c
SRCS5=client.c
SRCS6=dumbclient.c
SRCS7=listen-DGRAM.c
+SRCS8=client-DGRAM.c
all: release
clean:
- rm -f bin/$(TARGETS) bin/$(TARGETS2) bin/$(TARGETS3) bin/$(TARGETS4) bin/$(TARGETS5) bin/$(TARGETS6) bin/$(TARGETS7)
- rm -f test/$(TESTTARGET) test/$(TESTTARGET2) test/$(TESTTARGET3) test/$(TESTTARGET4) test/$(TESTTARGET5) test/$(TESTTARGET6) test/$(TESTTARGET6)
+ rm -f bin/$(TARGETS) bin/$(TARGETS2) bin/$(TARGETS3) bin/$(TARGETS4) bin/$(TARGETS5) bin/$(TARGETS6) bin/$(TARGETS7) bin/$(TARGETS8)
+ rm -f test/$(TESTTARGET) test/$(TESTTARGET2) test/$(TESTTARGET3) test/$(TESTTARGET4) test/$(TESTTARGET5) test/$(TESTTARGET6) test/$(TESTTARGET7) test/$(TESTTARGET8)
tests:
$(CC) $(CFLAGS_TESTBIN) $(SRCS) -o test/$(TESTTARGET)
@@ -39,6 +42,7 @@ tests:
$(CC) $(CFLAGS_TESTBIN) $(SRCS5) -o test/$(TESTTARGET5)
$(CC) $(CFLAGS_TESTBIN) $(SRCS6) -o test/$(TESTTARGET6)
$(CC) $(CFLAGS_TESTBIN) $(SRCS7) -o test/$(TESTTARGET7)
+ $(CC) $(CFLAGS_TESTBIN) $(SRCS8) -o test/$(TESTTARGET8)
release:
$(CC) $(CFLAGS) $(SRCS) -o bin/$(TARGETS)
@@ -48,3 +52,4 @@ release:
$(CC) $(CFLAGS) $(SRCS5) -o bin/$(TARGETS5)
$(CC) $(CFLAGS) $(SRCS6) -o bin/$(TARGETS6)
$(CC) $(CFLAGS) $(SRCS7) -o bin/$(TARGETS7)
+ $(CC) $(CFLAGS) $(SRCS8) -o bin/$(TARGETS8)