view miscutil/Makefile @ 1018:e1d670ec6012

doc/Firmware_Status: update for the current state of voice call support and TCS211 L1 reconstruction progress
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 23 Apr 2016 04:39:58 +0000
parents 813287f7169c
children
line wrap: on
line source

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

all:	${PROGS}

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

fc-rgbconv:	fc-rgbconv.c
	${CC} ${CFLAGS} -o $@ $@.c

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