view ffstools/tiaud/Makefile @ 392:01c97de62dda

fc-fsio help: write-battery-table and write-charging-config documented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 11 Mar 2018 23:24:52 +0000
parents 1f3b28d66d53
children 90d7c360a614
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	compile decomp mkvol
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

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

decomp:	decomp.c
	${CC} ${CFLAGS} -o $@ $@.c

mkvol:	mkvol.c
	${CC} ${CFLAGS} -o $@ $@.c

install:	${PROGS}
	mkdir -p ${INSTBIN}
	install -c compile ${INSTBIN}/tiaud-compile
	install -c decomp ${INSTBIN}/tiaud-decomp
	install -c mkvol ${INSTBIN}/tiaud-mkvol

clean:
	rm -f ${PROGS}