shithub: riscv

ref: 55373a649820a952ca26f5f315a8a2c60997a480
dir: /sys/src/ape/cmd/diff/mkfile/

View raw version
</$objtype/mkfile

OFILES=
HFILES=\
	system.h\
	config.h\

TARG=diff diff3

DIFFO=\
	analyze.$O\
	cmpbuf.$O\
	dir.$O\
	io.$O\
	util.$O\
	context.$O\
	ed.$O\
	ifdef.$O\
	normal.$O\
	side.$O\
	fnmatch.$O\
	getopt.$O\
	getopt1.$O\
	regex.$O\
	version.$O\
	prepend_args.$O\

DIFF3O=\
	getopt.$O\
	getopt1.$O\
	version.$O\

SDIFFO=\
	getopt.$O\
	getopt1.$O\
	version.$O\

BIN=/$objtype/bin/ape

</sys/src/cmd/mkmany

CC=pcc -c
CFLAGS=-B -p -D_POSIX_SOURCE -DREGEX_MALLOC -I. \
	-DHAVE_CONFIG_H -DDIFF_PROGRAM="/bin/ape/diff" \

$O.diff: $DIFFO
$O.diff3: $DIFF3O