heptagon/compiler/Makefile
Cédric Pasteur 134ab83b05 Fix the Makefile
It simply calls ocamlbuild.  We still need a way
to configure and install necessary files.
2011-07-27 09:12:09 +02:00

25 lines
330 B
Makefile

BUILD:= _build
OCAMLBUILD:=ocamlbuild
COMPILER:=heptc
TARGET:=byte
.PHONY: all opt byte debug profile clean
all: $(TARGET)
opt:
$(OCAMLBUILD) $(COMPILER).native
byte:
$(OCAMLBUILD) $(COMPILER).byte
debug:
$(OCAMLBUILD) $(COMPILER).d.byte
profile:
$(OCAMLBUILD) $(COMPILER).p.native
clean:
$(OCAMLBUILD).native -clean