From 4d60b8da9cdcd4716fe65c8872ec60a14d2c1e48 Mon Sep 17 00:00:00 2001 From: Oskar Date: Sun, 2 Jun 2024 21:32:41 +0200 Subject: listen-DGRAM which is basically a version of listen but with UDP --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8615444..95db456 100644 --- a/Makefile +++ b/Makefile @@ -8,23 +8,28 @@ TARGETS3=listen TARGETS4=connecting TARGETS5=client TARGETS6=dumbclient +TARGETS7=listen-DGRAM + TESTTARGET=helloworld-t TESTTARGET2=binding-t TESTTARGET3=listen-t TESTTARGET4=connecting-t TESTTARGET5=client-t TESTTARGET6=dumbclient-t +TESTTARGET7=listen-DGRAM-t + SRCS=hello.c SRCS2=binding.c SRCS3=listen.c SRCS4=connecting.c SRCS5=client.c SRCS6=dumbclient.c +SRCS7=listen-DGRAM.c all: release clean: - rm -f bin/$(TARGETS) bin/$(TARGETS2) bin/$(TARGETS3) bin/$(TARGETS4) bin/$(TARGETS5) bin/$(TARGETS6) - rm -f test/$(TESTTARGET) test/$(TESTTARGET2) test/$(TESTTARGET3) test/$(TESTTARGET4) test/$(TESTTARGET5) test/$(TESTTARGET6) + 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) tests: $(CC) $(CFLAGS_TESTBIN) $(SRCS) -o test/$(TESTTARGET) @@ -33,6 +38,7 @@ tests: $(CC) $(CFLAGS_TESTBIN) $(SRCS4) -o test/$(TESTTARGET4) $(CC) $(CFLAGS_TESTBIN) $(SRCS5) -o test/$(TESTTARGET5) $(CC) $(CFLAGS_TESTBIN) $(SRCS6) -o test/$(TESTTARGET6) + $(CC) $(CFLAGS_TESTBIN) $(SRCS7) -o test/$(TESTTARGET7) release: $(CC) $(CFLAGS) $(SRCS) -o bin/$(TARGETS) @@ -41,3 +47,4 @@ release: $(CC) $(CFLAGS) $(SRCS4) -o bin/$(TARGETS4) $(CC) $(CFLAGS) $(SRCS5) -o bin/$(TARGETS5) $(CC) $(CFLAGS) $(SRCS6) -o bin/$(TARGETS6) + $(CC) $(CFLAGS) $(SRCS7) -o bin/$(TARGETS7) -- cgit v1.2.3