aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-12-01 23:20:33 +0800
committerGuangxiong Lin <[email protected]>2022-12-01 23:20:33 +0800
commita9501d10847d7993fad2e0778fe9c11317b4f7be (patch)
tree470302a8a27b460c7f1fc5411e9f8dac0707743f /Makefile
parent122a69f715acfe73963a2347cbb335e41bce944c (diff)
downloadtinyserver-a9501d10847d7993fad2e0778fe9c11317b4f7be.tar.gz
tinyserver-a9501d10847d7993fad2e0778fe9c11317b4f7be.tar.bz2
tinyserver-a9501d10847d7993fad2e0778fe9c11317b4f7be.zip
Simplify logic by structure
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index eee72d1..2a0167a 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,8 @@ clean:
%.o: %.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
-client: client.o common.o
+client: client.o util.o
$(CC) -o $@ $^
-server: server.o common.o
+server: server.o util.o eventloop.o tsocket.o
$(CC) -o $@ $^