-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (30 loc) · 786 Bytes
/
Makefile
File metadata and controls
38 lines (30 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# PAOLINI DANIELE
# Interpreter makefile
# variables
SHELL = /bin/bash
# fake targets
.PHONY : install
.PHONY : clean
.PHONY : test
.PHONY : spec-test
all :
@echo "==> Setting environment..."
@ocamlc interpreter.ml assert.ml interpreter_test.ml -o Test
@echo "==> Done!"
spec : interpreter.ml assert.ml interpreter_test.ml
@echo "==> Setting environment..."
@ocamlopt interpreter.ml assert.ml interpreter_test.ml -o Test
@echo "==> Done!"
install : all
test : interpreter_test.ml
@echo "==> Starting test..."
@ocamlrun Test
@echo "==> Done!"
spec-test : interpreter_test.ml
@echo "==> Starting test..."
@./Test
@echo "==> Done!"
clean :
@echo "==> Cleaning environment..."
@rm -f *.cmi *.cmo *.cmx *.o Test
@echo "==> Done!"