summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2019-09-08 10:49:22 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2019-09-08 10:49:22 +0200
commitfa84dfb895d5f3965b2c791b477a1dcc6b4eef7b (patch)
treef0776a4fc67070b5d83e600fca303e5f9cded9bf /Makefile
parenta5338c572975a82b9efbf95755103176ebbb67a8 (diff)
downloaddemoscene-eo-fa84dfb895d5f3965b2c791b477a1dcc6b4eef7b.tar.gz
demoscene-eo-fa84dfb895d5f3965b2c791b477a1dcc6b4eef7b.tar.bz2
demoscene-eo-fa84dfb895d5f3965b2c791b477a1dcc6b4eef7b.zip
TRACE & DEBUG, 80x24x24fps, still troubles with render to texture
Tidy TRACE and DEBUG for cacaserver use or ncurses (no spurious printf). Switch to 80x24 at 24fps for bandwidth (4 Mbps) Colors are OK with xterm, but not with gnome-terminal
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)