aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 $@ $^