FreeCalypso > hg > gsm-net-reveng
comparison d144/Makefile @ 54:8deebf9c410a
d144: "decompile" binary input format into ASCII
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 25 Sep 2024 04:32:32 +0000 |
parents | c93ecd225b7f |
children | fe3cdbbc96f9 |
comparison
equal
deleted
inserted
replaced
53:c93ecd225b7f | 54:8deebf9c410a |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= edata-input-compile | 3 PROGS= edata-input-compile edata-input-decomp |
4 DATA= d144-ul-input.bin | 4 DATA= d144-ul-input.bin d144-ul-input.asc |
5 | 5 |
6 all: ${PROGS} ${DATA} | 6 all: ${PROGS} ${DATA} |
7 | 7 |
8 edata-input-compile: edata-input-compile.c | 8 edata-input-compile: edata-input-compile.c |
9 ${CC} ${CFLAGS} -o $@ $@.c | 9 ${CC} ${CFLAGS} -o $@ $@.c |
10 | 10 |
11 edata-input-decomp: edata-input-decomp.c | |
12 ${CC} ${CFLAGS} -o $@ $@.c | |
13 | |
11 d144-ul-input.bin: edata-input-compile ul-input | 14 d144-ul-input.bin: edata-input-compile ul-input |
12 ./edata-input-compile ul-input $@ | 15 ./edata-input-compile ul-input $@ |
13 | 16 |
17 d144-ul-input.asc: edata-input-decomp d144-ul-input.bin | |
18 ./edata-input-decomp d144-ul-input.bin $@ | |
19 | |
14 clean: | 20 clean: |
15 rm -f *.o ${PROGS} ${DATA} | 21 rm -f *.o ${PROGS} ${DATA} |