shithub: riscv

ref: e51c4bc6e493a9cd0d9e9d7f1d24c57ae77bab65
dir: /sys/src/cmd/abaco/mkfile/

View raw version
</$objtype/mkfile

BIN=/$objtype/bin

TARG=abaco

OFILES=\
	cols.$O\
	exec.$O\
	html.$O\
	main.$O\
	page.$O\
	rows.$O\
	scrl.$O\
	tabs.$O\
	text.$O\
	time.$O\
	urls.$O\
	util.$O\
	wind.$O\

HFILES=\
	dat.h\
	fns.h\
	fonts.h\

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\

</sys/src/cmd/mkone

syms:V:
	8c -a $CFLAGS main.c > syms
	8c -aa ????.c >> syms

tgz:V:
	cd ..
	tar c abaco | gzip -9 > $home/src/tar/abaco_^`{date -n}^.tgz

dist:
	9fs sources
	mk clean
	cd ..
	tar c $TARG | gzip -9 > /n/sources/contrib/fgb/abaco-test.tgz