From fa84dfb895d5f3965b2c791b477a1dcc6b4eef7b Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 8 Sep 2019 10:49:22 +0200 Subject: 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 --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3