shithub: riscv

ref: 37a8fc6168b3bf82df198fb20be5a8a53996187c
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"