view miscprog/Makefile @ 221:9f2e0c34fe33

ftmdump (C1xx factory data reverse eng) tool written
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Nov 2017 19:58:07 +0000
parents b6a95d35fabc
children 63c5bb42eca5
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
STD=	atsc calextract factdiff ftmdump grokdsn memwrite-grep mokosrec2bin \
	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
pircalextr:	pircalextr.c
pircksum:	pircksum.c
pircksum2:	pircksum2.c
pirimei:	pirimei.c
rfcap-grep:	rfcap-grep.c

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