view trau-decode/Makefile @ 56:b32b644b7d96

d144/nokia-tcsm2-atrau.bin: captured A-TRAU output from Nokia TCSM2, fed with ul-input from Ater
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 07:42:04 +0000
parents 5f98c5cae4ea
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	dump-1bit tfo-parse-fr16 trau-extr trau-hr-dump trau-parse trau-sync8

all:	${PROGS}

dump-1bit:	dump-1bit.c
	${CC} ${CFLAGS} -o $@ $@.c

tfo-parse-fr16:	crc8gen.o parse-fr.o parse-efr.o parse-tfo16.o
	${CC} ${CFLAGS} -o $@ $^ -lgsmfr2 -lgsmefr

trau-extr:	extr-fr.o extr-efr.o extr-main.o
	${CC} ${CFLAGS} -o $@ $^ -lgsmfr2

trau-hr-dump:	crc8gen.o gsmhr_unpack.o trau-hr-dump.o
	${CC} ${CFLAGS} -o $@ $^

trau-parse:	crc8gen.o parse-fr.o parse-efr.o parse-main.o
	${CC} ${CFLAGS} -o $@ $^ -lgsmfr2 -lgsmefr

trau-sync8:	trau-sync8.c
	${CC} ${CFLAGS} -o $@ $@.c

clean:
	rm -f *.o ${PROGS}