shithub: neindaw

ref: 1ef59f6dbd62ea361c9416e878a6c8d0a8f8b93a
dir: /mkfs/

View raw version
BIN=/$objtype/bin/daw

CFLAGS=$CFLAGS -p -I..

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

</sys/src/cmd/mk$MANY

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

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

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

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

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