Complete 1.01.e.1.a - binary tree member
[tiger.ml.git] / exercises / ch01 / Makefile
CommitLineData
e6273b7a
SK
1MAKEFLAGS := --no-builtin-rules
2
3OCAMLC_OPTIONS := -w A -warn-error A
4OCAMLC_BYTE := ocamlc.opt $(OCAMLC_OPTIONS)
5
6.PHONY: build clean
7
f76c63f8
SK
8build : \
9 straight_line_program_interpreter \
10 tree
e6273b7a
SK
11
12%: %.ml %.cmo %.cmi
13 $(OCAMLC_BYTE) -o $@ $*.cmo
14
15%.cmi: %.mli
16 $(OCAMLC_BYTE) -o $@ -c $<
17
18%.cmo: %.ml %.cmi
19 $(OCAMLC_BYTE) -c $<
20
21clean:
22 rm -f straight_line_program_interpreter
This page took 0.026265 seconds and 4 git commands to generate.