view miscprog/Makefile @ 241:cead37b6ff74

pirelli/fw-disasm: spi_adc_on() located
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 23 Dec 2017 01:46:05 +0000
parents 30804198d5d0
children e493fcff28ab
line wrap: on
line source

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

all:	${PROGS}

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

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

atsc:		atsc.c
calextract:	calextract.c
factdiff:	factdiff.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

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