summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 590a273..d0b32eb 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ uirc: ${SRC}
${CC} -l curl -o uirc -O ${SRC} -lm
debug: uirc
- ${CC} -g -o d_uirc -O ${SRC} -lm
+ ${CC} -g -l curl -o d_uirc -O ${SRC} -lm
gdb d_uirc
rm d_uirc
@@ -16,13 +16,10 @@ install: uirc
mkdir -p ${PREFIX}
cp -f uirc ${PREFIX}
chmod 755 ${PREFIX}/uirc
- mkdir -p ${LIB_PREFIX}/uirc
- cp -f LICENSE ${LIB_PREFIX}/uirc
uninstall:
rm ${PREFIX}/uirc
- rm -r ${LIB_PREFIX}/uirc
- test -s ${INCLUDE_PREFIX}/uirc || rm -r ${INCLUDE_PREFIX}/uirc
+ test -s ${INCLUDE_PREFIX}/uirc && rm -r ${INCLUDE_PREFIX}/uirc
stb:
@echo "It is best to download the stb library from your system's package manager."