include ../../config/Makefile

NCAMLRUN=../../boot/ncamlrun
COMPILER = ../../boot/nmlc
NMLC=$(NCAMLRUN) $(COMPILER) -I ../../boot -c -ntyping

all::
	$(NMLC) -c pervasives.ns
	$(NMLC) -c stdlib1.ns
	$(NMLC) -c stdlib2.ns
	$(NMLC) -c stdlib3.n
	$(NMLC) -c stdlib4.ns
	$(NMLC) -a -o stdlib.nty stdlib1.nty stdlib2.nty stdlib3.nty stdlib4.nty
	rm -f stdlib1.nty stdlib2.nty stdlib4.nty stdlib3.nty stdlib3.cmi stdlib3.cmo
	$(NMLC) -c unix.ns
	$(NMLC) -c others.ns
	$(NMLC) -c num1.ns
	$(NMLC) -c num2.ns
	$(NMLC) -a -o otherlibs.nty others.nty num1.nty num2.nty

install::
	cp stdlib.nty $(LIBDIR)
	cp unix.nty $(LIBDIR)
	cp otherlibs.nty $(LIBDIR)
	cp pervasives.nty $(LIBDIR)

clean::
	rm -f *.nty


syntax highlighted by Code2HTML, v. 0.9.1