aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-08-15 23:43:52 -0400
committerCara Salter <cara@devcara.com>2022-08-15 23:43:52 -0400
commite6ae01729aeaffc560c59e7887c5743521677e4d (patch)
tree34ea1333a9c0ce85ac72852cd7fd1b85651dda9d /Makefile
parentf15f93f6e55d6c09b5f556f8fc8e21c29f549a96 (diff)
downloadcmud-e6ae01729aeaffc560c59e7887c5743521677e4d.tar.gz
cmud-e6ae01729aeaffc560c59e7887c5743521677e4d.zip
data work
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