code: purgatorio

ref: efd1615c5741a6898853fefc24b1cbcb734e5477
dir: /utils/5l/mkfile/

View raw version
<../../mkconfig

TARG=5l

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

HFILES=\
	l.h\
	../5c/5.out.h\
	../include/ar.h\

LIBS=bio 9			# order is important

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

BIN=$ROOT/$OBJDIR/bin

<$ROOT/mkfiles/mkone-$SHELLTYPE

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

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

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