FreeCalypso > hg > freecalypso-tools
comparison ffstools/tiaud/Makefile @ 241:1f3b28d66d53
tiaud-mkvol program written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 25 Aug 2017 23:57:32 +0000 |
parents | 2568a2a8a453 |
children | 90d7c360a614 |
comparison
equal
deleted
inserted
replaced
240:2568a2a8a453 | 241:1f3b28d66d53 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= compile decomp | 3 PROGS= compile decomp mkvol |
4 INSTBIN=/opt/freecalypso/bin | 4 INSTBIN=/opt/freecalypso/bin |
5 | 5 |
6 all: ${PROGS} | 6 all: ${PROGS} |
7 | 7 |
8 compile: compile.c | 8 compile: compile.c |
9 ${CC} ${CFLAGS} -o $@ $@.c | 9 ${CC} ${CFLAGS} -o $@ $@.c |
10 | 10 |
11 decomp: decomp.c | 11 decomp: decomp.c |
12 ${CC} ${CFLAGS} -o $@ $@.c | 12 ${CC} ${CFLAGS} -o $@ $@.c |
13 | 13 |
14 mkvol: mkvol.c | |
15 ${CC} ${CFLAGS} -o $@ $@.c | |
16 | |
14 install: ${PROGS} | 17 install: ${PROGS} |
15 mkdir -p ${INSTBIN} | 18 mkdir -p ${INSTBIN} |
16 install -c compile ${INSTBIN}/tiaud-compile | 19 install -c compile ${INSTBIN}/tiaud-compile |
17 install -c decomp ${INSTBIN}/tiaud-decomp | 20 install -c decomp ${INSTBIN}/tiaud-decomp |
21 install -c mkvol ${INSTBIN}/tiaud-mkvol | |
18 | 22 |
19 clean: | 23 clean: |
20 rm -f ${PROGS} | 24 rm -f ${PROGS} |