From e0251bd4e06d7fb3f900fb8ffec0304c0807524d Mon Sep 17 00:00:00 2001 From: Emil Date: Wed, 2 Aug 2023 07:38:10 -0600 Subject: [PATCH] Updated PROGN name and minor update to macro. --- build.sh | 7 ++++--- dc | Bin 16808 -> 0 bytes src/main.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) delete mode 100755 dc diff --git a/build.sh b/build.sh index 9214c9e..fe58f74 100755 --- a/build.sh +++ b/build.sh @@ -4,11 +4,12 @@ DIR=$(dirname $(readlink -f "$0")) cd $DIR -PROGN=${PROGN:-dc} +PROGN=${PROGN:-probotic} PREFIX=${PREFIX:-$DIR} CC=${CC-cc} CFLAGS='-std=c99 -Wall -Wextra -Wpedantic' +CPPFLAGS='-I/usr/bin/ircclient/' LDFLAGS='-lircclient' mkdir -p $PREFIX && echo "Made directory: $PREFIX" @@ -18,6 +19,6 @@ if [ ! -z ${DEBUG} ] ; then CFLAG="$CFLAGS -Og -g3"; [ ! -z ${SAN} ] && CFLAG="$CFLAGS -fsanitize=$SAN" -echo "$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $LDFLAGS" -$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $LDFLAGS +echo "$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS" +$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS echo "\nStatus: $?" diff --git a/dc b/dc deleted file mode 100755 index 7595fd2af5cc66f283bf151e481089e573a0470f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16808 zcmeHOeQ;FO6~DU>K?OFTC?LWsYKJIU0tyolWFag(IzcHyi>>sz*?mdYW_Q!ww~#Ps zV`Ch*nM`RrT1IKdTC3RpQR}o0Qq)i^L90x#oeo-^W*n`X(Q5ptgNkf_=iYlZZ=cyt z+dn#;&fcAU=bqpBxaXet?%Q|w-TTdO<2t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