forked from rkt/rkt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (26 loc) · 906 Bytes
/
Makefile
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
# make "all" a default target
all:
# makelib/inc.mk must be included first!
include makelib/inc.mk
include makelib/verbosity.mk
include makelib/file-ops-prolog.mk
include makelib/variables.mk
include makelib/misc.mk
SHELL := $(BASH_SHELL)
TOPLEVEL_STAMPS :=
TOPLEVEL_CHECK_STAMPS :=
TOPLEVEL_UNIT_CHECK_STAMPS :=
TOPLEVEL_FUNCTIONAL_CHECK_STAMPS :=
TOPLEVEL_SUBDIRS := rkt tests stage1
$(call inc-one,tools/tools.mk)
$(call inc-many,$(foreach sd,$(TOPLEVEL_SUBDIRS),$(sd)/$(sd).mk))
all: $(TOPLEVEL_STAMPS)
$(TOPLEVEL_CHECK_STAMPS): $(TOPLEVEL_STAMPS)
.INTERMEDIATE: $(TOPLEVEL_CHECK_STAMPS)
.INTERMEDIATE: $(TOPLEVEL_UNIT_CHECK_STAMPS)
.INTERMEDIATE: $(TOPLEVEL_FUNCTIONAL_CHECK_STAMPS)
check: $(TOPLEVEL_CHECK_STAMPS)
unit-check: $(TOPLEVEL_UNIT_CHECK_STAMPS)
functional-check: $(TOPLEVEL_FUNCTIONAL_CHECK_STAMPS)
include makelib/file-ops-epilog.mk
.PHONY: all check unit-check functional-check