fix linking, use debug

This commit is contained in:
anon 2023-08-02 20:54:56 +02:00
parent da87ab7415
commit 8e766f7ca6

View File

@ -8,9 +8,9 @@ PROGN=${PROGN:-probotic}
PREFIX=${PREFIX:-$DIR}
CC=${CC-cc}
CFLAGS='-std=c99 -Wall -Wextra -Wpedantic -Wno-unused-parameter'
CPPFLAGS="-I/usr/bin/ircclient/ -Iinclude -D_GNU_SOURCE -DPROGN=\"$PROGN\""
LDFLAGS='-lircclient'
CFLAGS='-std=c99 -Wall -Wextra -Wpedantic -Wno-unused-parameter -g'
CPPFLAGS="-I/usr/bin/ircclient/ -I/usr/include/libircclient/ -Iinclude -D_GNU_SOURCE -DPROGN=\"$PROGN\""
LDFLAGS='-lircclient -lsqlite3'
mkdir -p $PREFIX && echo "Made directory: $PREFIX"