]> git.localhorst.tv Git - blank.git/blobdiff - Makefile
first draft for client/server architecture
[blank.git] / Makefile
index 7bafccd6a6e74e2c436e4b0f218736d30237219b..e6e24d9d2845caea6a24b673c9752d48bbeeda00 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 CXX = g++ --std=c++11
 LDXX = g++
 
-LIBS = sdl2 SDL2_image SDL2_ttf glew openal freealut zlib
+LIBS = sdl2 SDL2_image SDL2_net SDL2_ttf glew openal freealut zlib
 
 PKGFLAGS := $(shell pkg-config --cflags $(LIBS))
 PKGLIBS := $(shell pkg-config --libs $(LIBS))
@@ -64,6 +64,9 @@ tests: $(TEST_BIN)
 run: $(ASSET_DEP) blank
        ./blank --save-path saves/
 
+server: $(ASSET_DEP) blank
+       ./blank --server --save-path saves/
+
 gdb: $(ASSET_DEP) blank.debug
        gdb ./blank.debug