comparison 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
comparison
equal deleted inserted replaced
163:568e2a2b49c8 164:959ff9f59568
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= decomp 3 PROGS= decomp
4 INSTBIN=/opt/freecalypso/bin
4 5
5 all: ${PROGS} 6 all: ${PROGS}
6 7
7 decomp: decomp.c 8 decomp: decomp.c
8 ${CC} ${CFLAGS} -o $@ $@.c 9 ${CC} ${CFLAGS} -o $@ $@.c
9 10
11 install: ${PROGS}
12 mkdir -p ${INSTBIN}
13 install -c decomp ${INSTBIN}/tiaud-decomp
14
10 clean: 15 clean:
11 rm -f ${PROGS} 16 rm -f ${PROGS}