aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9907492..5774cac 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
CC=gcc
-CFLAGS=-I. -static
-SRCS=src/main.c src/login.c src/server.c src/data.c src/util.c
+CFLAGS=-I.
+SRCS=src/main.c src/login.c src/server.c src/data.c src/util.c src/game.c
BIN=cmud
-LFLAGS=-largon2 -lconfig
+LFLAGS=-largon2 -lpthread
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
@@ -22,5 +22,7 @@ srcdist: clean
clean:
rm $(BIN)*
+install: main
+
run: dev
./cmud-devel