From 122a69f715acfe73963a2347cbb335e41bce944c Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Thu, 1 Dec 2022 16:08:38 +0800 Subject: Implement echo server with error handling Implement echo server with error handling Fix gitignore Implement an echo server with error handling --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7c005c9..eee72d1 100644 --- a/Makefile +++ b/Makefile @@ -10,8 +10,8 @@ clean: %.o: %.c $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@ -client: client.o - $(CC) -o $@ $< +client: client.o common.o + $(CC) -o $@ $^ -server: server.o - $(CC) -o $@ $< +server: server.o common.o + $(CC) -o $@ $^ -- cgit v1.2.3