view ffstools/newcomp/Makefile @ 337:560af437a429

sms-pdu-decode main program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 04 Feb 2018 03:32:24 +0000
parents 7572c35a768a
children 90d7c360a614
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	compile-fc-batt compile-fc-chg
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

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

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

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

clean:
	rm -f ${PROGS}