diff ffstools/tiaud/Makefile @ 240:2568a2a8a453

tiaud-compile program written
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Aug 2017 23:36:07 +0000
parents 959ff9f59568
children 1f3b28d66d53
line wrap: on
line diff
--- a/ffstools/tiaud/Makefile	Mon Aug 21 19:04:28 2017 +0000
+++ b/ffstools/tiaud/Makefile	Fri Aug 25 23:36:07 2017 +0000
@@ -1,15 +1,19 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	decomp
+PROGS=	compile decomp
 INSTBIN=/opt/freecalypso/bin
 
 all:	${PROGS}
 
+compile:	compile.c
+	${CC} ${CFLAGS} -o $@ $@.c
+
 decomp:	decomp.c
 	${CC} ${CFLAGS} -o $@ $@.c
 
 install:	${PROGS}
 	mkdir -p ${INSTBIN}
+	install -c compile ${INSTBIN}/tiaud-compile
 	install -c decomp ${INSTBIN}/tiaud-decomp
 
 clean: