aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b4075e..687ca80 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
CC=gcc
CFLAGS=-I.
-SRCS=src/main.c src/login.c src/server.c src/data.c src/util.c src/game.c
+SRCS=$(wildcard src/*.c)
BIN=cmud
-LFLAGS=-largon2 -lpthread
+LFLAGS=-largon2 -lpthread -lclog -Wall
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)