view ffstools/tiaud/Makefile @ 854:74331b35b1da

ringtools/examples/ring.pwt: PWT equivalent of ring.buz
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 Nov 2021 16:39:52 +0000
parents 90d7c360a614
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	compile decomp mkvol

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/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}