shithub: riscv

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