shithub: purgatorio

ref: a411870ee4640241e3c494367d922847da84f972
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