view ffstools/tiaud/Makefile @ 445:6b20d68a2a88

target-utils/Makefile: calversion added to standard set
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 29 Dec 2018 05:46:22 +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}