view miscutil/Makefile @ 934:a8fc7526935e

gsm-fw/sysglue/flashboot.S, C139 configuration: the interface between the hacked-up bootloader and the main fw has been changed to match TCS211.
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 31 Oct 2015 03:47:18 +0000
parents 3822f3b198d4
children 813287f7169c
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fc-serterm imei-luhn
INSTBIN=/usr/local/bin

all:	${PROGS}

SERTERM_OBJS=	fc-serterm.o openport.o ttypassthru.o

fc-serterm:	${SERTERM_OBJS}
	${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS}

ttypassthru.o:	../loadtools/ttypassthru.c
	${CC} ${CFLAGS} -c -o $@ $<

imei-luhn:	imei-luhn.c
	${CC} ${CFLAGS} -o $@ $@.c

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

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