From 2c29d8cfa0e71ba108e4d0d2665c047a9b837161 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Mon, 7 Mar 2022 18:34:17 -0700 Subject: added license flag --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3