view ffstools/newcomp/Makefile @ 454:daaab2701761

target-utils: simtest program started
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Feb 2019 07:55:50 +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}