summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0fdaec2..52bc088 100644
--- a/Makefile
+++ b/Makefile
@@ -8,14 +8,14 @@ uirc: ${SRC}
${CC} -o uirc -O ${SRC}
install: uirc
- mkdir -p ${PREFIX}/bin
- cp -f uirc ${PREFIX}/bin
- chmod 755 ${PREFIX}/bin/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}/bin/uirc
+ rm ${PREFIX}/uirc
rm -r ${LIB_PREFIX}/uirc
test -s ${INCLUDE_PREFIX}/uirc || rm -r ${INCLUDE_PREFIX}/uirc