summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-03-07 18:34:17 -0700
committerBryson Steck <steck.bryson@gmail.com>2022-03-07 18:34:17 -0700
commit2c29d8cfa0e71ba108e4d0d2665c047a9b837161 (patch)
tree8782cda334dc9192e83ef3f4bb53afe1cdf7f49f /Makefile
parent9d3b2ec4d73005f7b032e2cb5c8430063f08848f (diff)
downloaduirc-2c29d8cfa0e71ba108e4d0d2665c047a9b837161.tar
uirc-2c29d8cfa0e71ba108e4d0d2665c047a9b837161.tar.gz
uirc-2c29d8cfa0e71ba108e4d0d2665c047a9b837161.tar.bz2
added license flag
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7eec852..4a5052e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,16 @@
# makefile for uirc
+# to configure install locations and compiler settings, see config.mk
+include config.mk
+
SRC = uirc.c
uirc: ${SRC}
- gcc -o uirc -O ${SRC}
+ ${CC} -o uirc -O ${SRC}
+
+install: uirc
+ mkdir -p ${PREFIX}/bin
+ cp -f uirc ${PREFIX}/bin
+ chmod 755 ${PREFIX}/bin/uirc
+
+.PHONY: uirc install