shithub: riscv

ref: a852f55b6c9e9c374fe35fafe6cf1fdfeea7211a
dir: /sys/src/cmd/faces/mkfile/

View raw version
</$objtype/mkfile

# default domain for faces, overridden by $facedom
DEFAULT="astro"

TARG=faces

OFILES=main.$O\
	facedb.$O\
	plumb.$O\
	util.$O\

HFILES=faces.h\

BIN=/$objtype/bin

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\

</sys/src/cmd/mkone
CFLAGS=$CFLAGS '-DDEFAULT='$DEFAULT

$O.dblook: dblook.$O facedb.$O util.$O
	$LD -o $target $prereq