shithub: neindaw

ref: 65f258864e2ff9f44b5fc39237047c9400f3f526
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