shithub: femtolisp

ref: 32172cdf6a00026675dee9be5c0fa3aef5fdff9d
dir: /mkfile/

View raw version
</$objtype/mkfile

BIN=/$objtype/bin
TARG=flisp
CFLAGS=$CFLAGS -p -D__plan9__ -DNDEBUG -D__${objtype}__ -Illt

HFILES=\
	equalhash.h\
	flisp.h\
	opcodes.h\

OFILES=\
	builtins.$O\
	equalhash.$O\
	flisp.$O\
	flmain.$O\
	iostream.$O\
	string.$O\
	table.$O\

default:V: all

install:V: /sys/lib/flisp/flisp.boot

/sys/lib/flisp/%: %
	mkdir -p /sys/lib/flisp/
	cp $prereq $target

</sys/src/cmd/mkone

$O.out: llt/libllt.a

llt/libllt.a:
	cd llt && mk

cvalues.$O: operators.c

flisp.$O: cvalues.c types.c print.c read.c equal.c