1 MAKEFLAGS
:= --no-builtin-rules
3 OCAMLC_OPTIONS
:= -w A
-warn-error A
4 OCAMLC_BYTE
:= ocamlc.opt
$(OCAMLC_OPTIONS
)
7 straight_line_program_interpreter \
9 EXECUTABLES
:= $(addsuffix .byte
,$(EXECUTABLES
))
12 a b c d e f g h i j k l m n o p q r s t u v foo bar kgkvbkvg \
13 lkhjlk gfjyfjf fdtrdchfhtr trhfgfch hjlilijhl iygkyugkgkhy
30 # There're also tree demo PNGs, but I want to keep them around, for
31 # referencing without having to build the project.
34 ocamlbuild
$(EXECUTABLES
)
37 run_straight_line_program_interpreter \
38 tree_demo_unbalanced.png \
39 tree_demo_balanced.png
41 run_straight_line_program_interpreter
: straight_line_program_interpreter.byte
44 tree_demo_unbalanced.dot
: tree_demo.byte
45 .
/$< unbalanced
$(SET_MEMBERS
) > $@
47 tree_demo_unbalanced.png
: tree_demo_unbalanced.dot
50 tree_demo_balanced.dot
: tree_demo.byte
51 .
/$< balanced
$(SET_MEMBERS
) > $@
53 tree_demo_balanced.png
: tree_demo_balanced.dot