code: purgatorio

ref: 254b07675e1a5348f2a8723f55e6b5b1b18a4721
dir: /utils/ql/mkfile/

View raw version
<../../mkconfig

TARG=ql

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

HFILES=\
	l.h\
	../qc/q.out.h\
	../include/ar.h\

LIBS=bio 9			# order is important

BIN=$ROOT/$OBJDIR/bin

<$ROOT/mkfiles/mkone-$SHELLTYPE

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

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

elf.$O:	../ld/elf.c
	$CC $CFLAGS ../ld/elf.c
#cnam.c:	l.h
#	rc mkcname

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