From bc6bd8a2b8b84a79dd77b81d6a25b661c5d1d1ca Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 16 Dec 2018 14:14:41 +0100 Subject: Add optional debugging code Compile *without* -DNDEBUG. The environment variable PIANOBAR_DEBUG accepts a bitfield which enables (1) network (2) audio (4) UI debug messages. --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1445575..b4ed0a7 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,7 @@ endif PIANOBAR_DIR:=src PIANOBAR_SRC:=\ ${PIANOBAR_DIR}/main.c \ + ${PIANOBAR_DIR}/debug.c \ ${PIANOBAR_DIR}/player.c \ ${PIANOBAR_DIR}/settings.c \ ${PIANOBAR_DIR}/terminal.c \ -- cgit v1.2.3