heptagon/compiler/Makefile

25 lines
330 B
Makefile
Raw Normal View History

2010-06-15 10:49:03 +02:00
BUILD:= _build
OCAMLBUILD:=ocamlbuild
COMPILER:=heptc
2010-06-15 10:49:03 +02:00
TARGET:=byte
2010-06-15 10:49:03 +02:00
.PHONY: all opt byte debug profile clean
2010-06-15 10:49:03 +02:00
all: $(TARGET)
opt:
$(OCAMLBUILD) $(COMPILER).native
byte:
$(OCAMLBUILD) $(COMPILER).byte
2010-06-15 10:49:03 +02:00
debug:
$(OCAMLBUILD) $(COMPILER).d.byte
profile:
$(OCAMLBUILD) $(COMPILER).p.native
2010-06-15 10:49:03 +02:00
clean:
$(OCAMLBUILD).native -clean