shithub: neindaw

ref: f759087b2470fc584b7373a9c1ad4a730f4c6c52
dir: /dsp/mkfile/

View raw version
</$objtype/mkfile

TARG=\
	kick_drum\

BIN=/$objtype/bin/daw

OFILES=\
	common.$O\
	fs.$O\
	uiglue.$O\

CFLAGS=$CFLAGS -I..

default:V:	all

CLEANFILES=\

</sys/src/cmd/mkmany

%.c: %.dsp
	os -d `{../osdir} ./dsp2c $"prereq || \
	{ echo $target needs to be regenerated with "./dsp2c $prereq"; exit 1 }

$BIN/%:	$O.%
	mkdir -p $BIN
	cp $O.$stem $BIN/$stem

common.$O: ../common.c
	$CC $CFLAGS $prereq

uiglue.$O: ../uiglue.c
	$CC $CFLAGS $prereq