1 MAKEFLAGS
:= --no-builtin-rules
3 EXE_TYPE
:= byte
# byte | native
4 EXECUTABLES
:= tigerc tigert
5 OCAMLBUILD_FLAGS_DIRS
:= -I src
/exe
-I src
/lib
/tiger
6 OCAMLBUILD_FLAGS_COMP
:= -cflags '-w A'
7 OCAMLBUILD_FLAGS_YACC
:= -yaccflag
'-v'
11 $(OCAMLBUILD_FLAGS_COMP
) \
12 $(OCAMLBUILD_FLAGS_DIRS
) \
13 $(OCAMLBUILD_FLAGS_YACC
)
25 @
$(OCAMLBUILD
) $(addsuffix .
$(EXE_TYPE
),$(EXECUTABLES
))
27 $(foreach exe
,$(EXECUTABLES
),cp _build
/src
/exe
/$(exe
).
$(EXE_TYPE
) bin
/exe
/$(exe
); )
28 @
rm $(addsuffix .
$(EXE_TYPE
),$(EXECUTABLES
))
This page took 0.07666 seconds and 4 git commands to generate.