shithub: riscv

ref: 26e00d014cebde8bc07725700b5ac9c0cade8171
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"