From 8b80185d9db97a5e8e93f763a4c190183317f44f Mon Sep 17 00:00:00 2001 From: Oskar Date: Sun, 2 Jun 2024 15:33:57 +0200 Subject: made new file for dumb client, because i will make a slightly smarter one that doesnt just send a message and exit --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e8df2e9..ca64efa 100644 --- a/Makefile +++ b/Makefile @@ -7,21 +7,24 @@ TARGETS2=binding TARGETS3=listen TARGETS4=connecting TARGETS5=client +TARGETS6=dumbclient TESTTARGET=helloworld-t TESTTARGET2=binding-t TESTTARGET3=listen-t TESTTARGET4=connecting-t TESTTARGET5=client-t +TESTTARGET6=dumbclient-t SRCS=hello.c SRCS2=binding.c SRCS3=listen.c SRCS4=connecting.c SRCS5=client.c +SRCS6=dumbclient.c all: release clean: - rm -f bin/$(TARGETS) bin/$(TARGETS2) bin/$(TARGETS3) bin/$(TARGETS4) bin/$(TARGETS5) - rm -f test/$(TESTTARGET) test/$(TESTTARGET2) test/$(TESTTARGET3) test/$(TESTTARGET4) test/$(TESTTARGET5) + 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) tests: $(CC) $(CFLAGS_TESTBIN) $(SRCS) -o test/$(TESTTARGET) @@ -29,6 +32,7 @@ tests: $(CC) $(CFLAGS_TESTBIN) $(SRCS3) -o test/$(TESTTARGET3) $(CC) $(CFLAGS_TESTBIN) $(SRCS4) -o test/$(TESTTARGET4) $(CC) $(CFLAGS_TESTBIN) $(SRCS5) -o test/$(TESTTARGET5) + $(CC) $(CFLAGS_TESTBIN) $(SRCS6) -o test/$(TESTTARGET6) release: $(CC) $(CFLAGS) $(SRCS) -o bin/$(TARGETS) @@ -36,3 +40,4 @@ release: $(CC) $(CFLAGS) $(SRCS3) -o bin/$(TARGETS3) $(CC) $(CFLAGS) $(SRCS4) -o bin/$(TARGETS4) $(CC) $(CFLAGS) $(SRCS5) -o bin/$(TARGETS5) + $(CC) $(CFLAGS) $(SRCS6) -o bin/$(TARGETS6) -- cgit v1.2.3