view ffstools/tiaud/Makefile @ 241:1f3b28d66d53

tiaud-mkvol program written
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Aug 2017 23:57:32 +0000
parents 2568a2a8a453
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}