summaryrefslogtreecommitdiff
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 b655db0..6aebd5e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
-CFLAGS=-Wall -Werror -g -DDEBUG
-PKGLIBS=caca sdl2 glu
+CFLAGS := -Wall $(CFLAGS)
+#CFLAGS := -Wall -Werror -g -DDEBUG $(CFLAGS)
+PKGLIBS:= caca sdl2 glu
all: demoscene-eo
server: demoscene-eo
- CACA_DRIVER=raw CACA_GEOMETRY=80x25 ./demoscene-eo | cacaserver
+ xterm -e $(SHELL) -c "sleep 1; nc -v localhost 51914; exec $(SHELL)" &
+ CACA_DRIVER=raw CACA_GEOMETRY=80x24 ./demoscene-eo | cacaserver
demoscene-eo: src/main.c src/main.h $(wildcard src/scene*.[ch]) Makefile
pkg-config --libs --cflags $(PKGLIBS)