view miscprog/Makefile @ 382:4307b57229d3

miscprog: tone-convert written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 10 Nov 2021 00:04:12 +0000
parents f233f0a012c9
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
STD=	atsc calextract cinitdump factdiff fbdump2ppm ftmdump grokdsn \
	memwrite-grep mokosrec2bin osmo2psi pirbattextr pircalextr pircksum \
	pircksum2 rfcap-grep
CRYPTO=	imeibrute pirimei
MATH=	tone-convert
PROGS=	${STD} ${CRYPTO} ${MATH}

all:	${PROGS}

${STD}:
	${CC} ${CFLAGS} -o $@ $@.c

${CRYPTO}:
	${CC} ${CFLAGS} -o $@ $@.c -lcrypto

${MATH}:
	${CC} ${CFLAGS} -o $@ $@.c -lm

atsc:		atsc.c
calextract:	calextract.c
cinitdump:	cinitdump.c
factdiff:	factdiff.c
fbdump2ppm:	fbdump2ppm.c
ftmdump:	ftmdump.c
grokdsn:	grokdsn.c
imeibrute:	imeibrute.c
memwrite-grep:	memwrite-grep.c
mokosrec2bin:	mokosrec2bin.c
osmo2psi:	osmo2psi.c
pirbattextr:	pirbattextr.c
pircalextr:	pircalextr.c
pircksum:	pircksum.c
pircksum2:	pircksum2.c
pirimei:	pirimei.c
rfcap-grep:	rfcap-grep.c
tone-convert:	tone-convert.c

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