shithub: riscv

ref: eae58edb5a6f912d3fd06c96e01499ba46f730da
dir: /sys/src/ape/cmd/patch/mkfile/

View raw version
</$objtype/mkfile

TARG=patch

OFILES=\
	addext.$O\
	argmatch.$O\
	backupfile.$O\
	basename.$O\
	getopt.$O\
	getopt1.$O\
	inp.$O\
	maketime.$O\
	partime.$O\
	patch.$O\
	pch.$O\
	quotearg.$O\
	util.$O\
	version.$O\

HFILES=\
	backupfile.h\
	common.h\
	getopt.h\
	maketime.h\
	inp.h\
	partime.h\
	quotearg.h\
	pch.h\
	util.h\
	version.h\

BIN=/$objtype/bin/ape

</sys/src/cmd/mkone

CC=pcc -c
CFLAGS=-B -p -D_POSIX_SOURCE \
	-D_BSD_EXTENSION -I. -DHAVE_CONFIG_H \
	-Ded_PROGRAM="/bin/ed"