view ffstools/newcomp/Makefile @ 388:3d45660f78f0

doc/User-phone-tools article written
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 11 Mar 2018 06:32:00 +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}