view trau-decode/Makefile @ 27:f508dacf2cf9

trau-decode: new programs dump-1bit and trau-sync8
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Aug 2024 06:26:23 +0000
parents 0565aaa84b17
children 9bcdb091c24d
line wrap: on
line source

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

all:	${PROGS}

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

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

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}