view ffstools/newcomp/Makefile @ 320:7572c35a768a

compile-fc-chg tool written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 17 Dec 2017 02:25:05 +0000
parents 182c3ae209f6
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}