shithub: riscv

ref: 614f1d6268fd986fc628eec3754bd4599363ad13
dir: /sys/src/ape/cmd/make/mkfile/

View raw version
APE=/sys/src/ape
<$APE/config

TARG=make
OFILES=ident.$O\
	main.$O\
	doname.$O\
	dosys.$O\
	gram.$O\
	misc.$O\
	files.$O\

HFILES=defs.h
YFILES=gram.y

BIN=$APEBIN
</sys/src/cmd/mkone

CFLAGS=-c -DSHELLCOM'="/bin/sh"'
YFLAGS=-S

gram.c:	y.tab.c
	mv $prereq $target

nuke clean:V:
	rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $TARG gram.c