-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (28 loc) · 723 Bytes
/
Makefile
File metadata and controls
39 lines (28 loc) · 723 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
39
#########################################
# Custom MakeFile #
# By MYSTERY MAN #
#########################################
OUTPUT_DIR = bin
COMPILER_DIR = src
COMPILER_BIN = main.native
#============================================
# compiler
#============================================
compiler:
$(MAKE) -C $(COMPILER_DIR)
now: compiler
#============================================
# extra's
#============================================
setup:
-mkdir out
-mkdir log
-mkdir coverage
test:
@./test
report:
ocveralls --prefix src/_build coverage/run*.out --send
clean:
$(MAKE) clean -C $(COMPILER_DIR)
rm -fr out/*
.PHONY: test setup compiler clean now report