summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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}