shithub: neindaw

ref: 7afee3728457100711a544d74ef9c18829bf1a8b
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