aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-12-01 16:08:38 +0800
committerGuangxiong Lin <[email protected]>2022-12-01 16:23:11 +0800
commit122a69f715acfe73963a2347cbb335e41bce944c (patch)
treec662e60fd13991c786de57110f9303edc0b2d39b /Makefile
parent5626ba1525179d634676a347b5cd869cc3266090 (diff)
downloadtinyserver-122a69f715acfe73963a2347cbb335e41bce944c.tar.gz
tinyserver-122a69f715acfe73963a2347cbb335e41bce944c.tar.bz2
tinyserver-122a69f715acfe73963a2347cbb335e41bce944c.zip
Implement echo server with error handling
Implement echo server with error handling Fix gitignore Implement an echo server with error handling
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
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 $@ $^