comparison d144/Makefile @ 64:0364d77aca58

d144: generate hex version of Nokia TCSM2 A-TRAU capture
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 18:57:54 +0000
parents eeb28c9c633a
children
comparison
equal deleted inserted replaced
63:4a906c2075bc 64:0364d77aca58
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= atrau-parse edata-input-compile edata-input-decomp 3 PROGS= atrau-parse edata-input-compile edata-input-decomp
4 DATA= d144-ul-input.bin d144-ul-input.asc nokia-tcsm2-atrau.dump 4 DATA= d144-ul-input.bin d144-ul-input.asc nokia-tcsm2-atrau.dump \
5 nokia-tcsm2-atrau.hex
5 6
6 all: ${PROGS} ${DATA} 7 all: ${PROGS} ${DATA}
7 8
8 atrau-parse: atrau-parse.c 9 atrau-parse: atrau-parse.c
9 ${CC} ${CFLAGS} -o $@ $@.c 10 ${CC} ${CFLAGS} -o $@ $@.c
21 ./edata-input-decomp d144-ul-input.bin $@ 22 ./edata-input-decomp d144-ul-input.bin $@
22 23
23 nokia-tcsm2-atrau.dump: atrau-parse nokia-tcsm2-atrau.bin 24 nokia-tcsm2-atrau.dump: atrau-parse nokia-tcsm2-atrau.bin
24 ./atrau-parse nokia-tcsm2-atrau.bin > $@ 25 ./atrau-parse nokia-tcsm2-atrau.bin > $@
25 26
27 nokia-tcsm2-atrau.hex: nokia-tcsm2-atrau.bin
28 ../utils/gen-hex-lines nokia-tcsm2-atrau.bin $@ 40
29
26 clean: 30 clean:
27 rm -f *.o ${PROGS} ${DATA} 31 rm -f *.o ${PROGS} ${DATA}