comparison 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
comparison
equal deleted inserted replaced
239:d55368e45bfe 240:2568a2a8a453
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= decomp 3 PROGS= compile decomp
4 INSTBIN=/opt/freecalypso/bin 4 INSTBIN=/opt/freecalypso/bin
5 5
6 all: ${PROGS} 6 all: ${PROGS}
7
8 compile: compile.c
9 ${CC} ${CFLAGS} -o $@ $@.c
7 10
8 decomp: decomp.c 11 decomp: decomp.c
9 ${CC} ${CFLAGS} -o $@ $@.c 12 ${CC} ${CFLAGS} -o $@ $@.c
10 13
11 install: ${PROGS} 14 install: ${PROGS}
12 mkdir -p ${INSTBIN} 15 mkdir -p ${INSTBIN}
16 install -c compile ${INSTBIN}/tiaud-compile
13 install -c decomp ${INSTBIN}/tiaud-decomp 17 install -c decomp ${INSTBIN}/tiaud-decomp
14 18
15 clean: 19 clean:
16 rm -f ${PROGS} 20 rm -f ${PROGS}