shithub: purgatorio

ref: 15e065df12bf7ad79000d150cefa5038ee7416b3
dir: /utils/kl/mkfile/

View raw version
<../../mkconfig

CFLAGS=$CFLAGS -I../include -I.

TARG=kl

OFILES=\
	asm.$O\
	list.$O\
	noop.$O\
	sched.$O\
	obj.$O\
	optab.$O\
	pass.$O\
	span.$O\
	enam.$O\
	$TARGMODEL.$O\

HFILES=\
	l.h\
	../kc/k.out.h\
	../include/ar.h\

LIBS=bio 9		# order is important

BIN=$ROOT/$OBJDIR/bin

<$ROOT/mkfiles/mkone-$SHELLTYPE

enam.$O:	../kc/enam.c
	$CC $CFLAGS ../kc/enam.c

$TARGMODEL.$O:	../ld/$TARGMODEL.c
	$CC $CFLAGS ../ld/$TARGMODEL.c