1 MAKEFLAGS
:= --no-builtin-rules
3 DIR_TEST_CASES
:= .
/testcases
5 EXE_TYPE
:= native
# byte | native
6 EXECUTABLES
:= tigerc tigert
7 OCAMLBUILD_FLAGS_PKGS
:= -pkg unix
8 OCAMLBUILD_FLAGS_DIRS
:= -I src
/exe
-I src
/lib
/tiger
9 OCAMLBUILD_FLAGS_COMP
:= -cflags '-g -w A'
10 OCAMLBUILD_FLAGS_YACC
:= -yaccflag
'-v'
13 $(OCAMLBUILD_FLAGS_PKGS
) \
14 $(OCAMLBUILD_FLAGS_COMP
) \
15 $(OCAMLBUILD_FLAGS_DIRS
) \
16 $(OCAMLBUILD_FLAGS_YACC
)
31 @
$(OCAMLBUILD
) $(addsuffix .
$(EXE_TYPE
),$(EXECUTABLES
))
33 $(foreach exe
,$(EXECUTABLES
),cp _build
/src
/exe
/$(exe
).
$(EXE_TYPE
) bin
/exe
/$(exe
); )
34 @
rm $(addsuffix .
$(EXE_TYPE
),$(EXECUTABLES
))
43 @.
/bin
/exe
/tigert
all -dir $(DIR_TEST_CASES
)
46 @.
/bin
/exe
/tigert book
-dir $(DIR_TEST_CASES
)
49 @.
/bin
/exe
/tigert micro
This page took 0.067274 seconds and 4 git commands to generate.