134ab83b05
It simply calls ocamlbuild. We still need a way to configure and install necessary files.
24 lines
330 B
Makefile
24 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
|