comparison miscutil/Makefile @ 622:89e9e79a7f55

srec-regions utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 27 Feb 2020 07:59:47 +0000
parents 90d7c360a614
children 5b8287c655cf
comparison
equal deleted inserted replaced
621:f44770a652eb 622:89e9e79a7f55
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= fc-fr2tch fc-gsm2vm fc-rgbconv fc-serterm fc-tch2fr fc-vm2hex imei-luhn\ 3 PROGS= fc-fr2tch fc-gsm2vm fc-rgbconv fc-serterm fc-tch2fr fc-vm2hex imei-luhn\
4 mokosrec2bin 4 mokosrec2bin srec-regions
5 SCRIPTS=c139explore pirexplore 5 SCRIPTS=c139explore pirexplore
6 6
7 INSTALL_PREFIX= /opt/freecalypso 7 INSTALL_PREFIX= /opt/freecalypso
8 8
9 INSTBIN=${INSTALL_PREFIX}/bin 9 INSTBIN=${INSTALL_PREFIX}/bin
40 ${CC} ${CFLAGS} -o $@ $@.c 40 ${CC} ${CFLAGS} -o $@ $@.c
41 41
42 mokosrec2bin: mokosrec2bin.c 42 mokosrec2bin: mokosrec2bin.c
43 ${CC} ${CFLAGS} -o $@ $@.c 43 ${CC} ${CFLAGS} -o $@ $@.c
44 44
45 srec-regions: srec-regions.c
46 ${CC} ${CFLAGS} -o $@ $@.c
47
45 install: 48 install:
46 mkdir -p ${INSTBIN} 49 mkdir -p ${INSTBIN}
47 install -c ${PROGS} ${SCRIPTS} ${INSTBIN} 50 install -c ${PROGS} ${SCRIPTS} ${INSTBIN}
48 51
49 clean: 52 clean: