shithub: neindaw

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