shithub: riscv

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