shithub: neindaw

ref: 9b3691b57b3fc854f77cffb8b9000efc13ee2087
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