view miscutil/Makefile @ 554:3a0ce0ea4035

gsm-fw/L1/tpudrv/tpudrv.h: Leonardo version replaced with LoCosto-based one; l1dmacro_rx_nb() and l1dmacro_rx_cont() prototypes fixed not to include the csf_filter_choice parameter in the Calypso configuration
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 04 Aug 2014 04:57:24 +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