summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-03-22 14:22:32 -0600
committerBryson Steck <steck.bryson@gmail.com>2022-03-22 14:22:32 -0600
commite9490940d01e7ab2b9479a38325a60be096787af (patch)
treec6fbaa196a731c80e7fb255d89dbf0f97bb0491f /Makefile
parent96559b7870450517711bb8ccf7c5bf0b9fba8df9 (diff)
downloaduirc-e9490940d01e7ab2b9479a38325a60be096787af.tar
uirc-e9490940d01e7ab2b9479a38325a60be096787af.tar.gz
uirc-e9490940d01e7ab2b9479a38325a60be096787af.tar.bz2
fixed segfault with new function
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 236977f..7458674 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,12 @@ include config.mk
SRC = uirc.c
uirc: ${SRC}
- ${CC} -DLICENSE_DIR='"./"' -o uirc -O ${SRC}
+ ${CC} -o uirc -O ${SRC} -lm
+
+debug: uirc
+ ${CC} -g -o d_uirc -O ${SRC} -lm
+ gdb d_uirc
+ rm d_uirc
install: uirc
mkdir -p ${PREFIX}