Added iostream in standard library

This commit is contained in:
Gwenaël Delaval 2012-07-14 14:35:34 +02:00
parent e103d60c26
commit bcfcf8cf39

View file

@ -1,6 +1,6 @@
include ../config
STDLIB_INTERFACE=pervasives.epi
STDLIB_INTERFACE=pervasives.epi iostream.epi
STDLIB_OBJ=$(STDLIB_INTERFACE:.epi=.epci)
C_DIR=c
@ -8,13 +8,16 @@ C_OBJ=pervasives.h
.SUFFIXES: .epi .epci
.epi.epci:
../compiler/$(COMPILER).$(TARGET) -nopervasives $<
.PHONY: all install clean
all: $(STDLIB_OBJ)
pervasives.epci: pervasives.epi
../compiler/$(COMPILER).$(TARGET) -nopervasives $<
%.epci: %.epi
../compiler/$(COMPILER).$(TARGET) $<
install: all
$(INSTALL) -d $(INSTALL_LIBDIR)
$(INSTALL) $(STDLIB_OBJ) $(STDLIB_INTERFACE) $(INSTALL_LIBDIR)
@ -22,4 +25,5 @@ install: all
(cd c/; $(INSTALL) $(C_OBJ) $(INSTALL_LIBDIR)/$(C_DIR))
clean:
rm -f *.epci
rm -f *.epci