shithub: riscv

ref: 9ed0dd3a7fc2e9242af1e17bc9fda7f6e97063f1
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