diff ffstools/tiaud/Makefile @ 164:959ff9f59568

make install added for tiaud-decomp
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 19 Mar 2017 07:59:05 +0000
parents 568e2a2b49c8
children 2568a2a8a453
line wrap: on
line diff
--- a/ffstools/tiaud/Makefile	Sat Mar 18 05:47:32 2017 +0000
+++ b/ffstools/tiaud/Makefile	Sun Mar 19 07:59:05 2017 +0000
@@ -1,11 +1,16 @@
 CC=	gcc
 CFLAGS=	-O2
 PROGS=	decomp
+INSTBIN=/opt/freecalypso/bin
 
 all:	${PROGS}
 
 decomp:	decomp.c
 	${CC} ${CFLAGS} -o $@ $@.c
 
+install:	${PROGS}
+	mkdir -p ${INSTBIN}
+	install -c decomp ${INSTBIN}/tiaud-decomp
+
 clean:
 	rm -f ${PROGS}