code: purgatorio

ref: df03eca7e7cbfadf1cf8c8c5a94390eaa5013a8b
dir: /utils/kc/mkfile/

View raw version
<../../mkconfig

TARG=kc

OFILES=\
	peep.$O\
	pgen.$O\
	pswt.$O\
	reg.$O\
	cgen.$O\
	enam.$O\
	list.$O\
	sgen.$O\
	swt.$O\
	txt.$O\
	mul.$O\

HFILES=\
	gc.h\
	k.out.h\
	../cc/cc.h\

LIBS=cc bio 9			# order is important.

BIN=$ROOT/$OBJDIR/bin

<$ROOT/mkfiles/mkone-$SHELLTYPE

CFLAGS=	$CFLAGS -I../include

$ROOT/$OBJDIR/lib/libcc.a:
	cd ../cc
	mk $MKFLAGS install
	mk $MKFLAGS clean

%.$O: ../cc/%.c
	$CC -I. $CFLAGS ../cc/$stem.c

#enam.c:	k.out.h
#	rc mkenam