shithub: riscv

ref: 42ec5a0729a73a383203ba969be07fc0b2ee8ecd
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