summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-03-12 22:42:44 -0700
committerBryson Steck <steck.bryson@gmail.com>2022-03-12 22:42:44 -0700
commitf035426e7f239a414f89159f4810f762c98cd37f (patch)
treee3103b836f7c420d692951be85194b84ac65257c /Makefile
parent00fa0c15e17397edf27be5157abd82a5f5a28c8f (diff)
downloaduirc-f035426e7f239a414f89159f4810f762c98cd37f.tar
uirc-f035426e7f239a414f89159f4810f762c98cd37f.tar.gz
uirc-f035426e7f239a414f89159f4810f762c98cd37f.tar.bz2
updated readme, simplified make
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