forked from bakerstu/openmrn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (26 loc) · 810 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
36
37
38
39
40
# Ensures all recursive directories get OPENMRNPATH appropriately.
OPENMRNPATH:=$(realpath .)
export OPENMRNPATH
$(shell touch $(OPENMRNPATH)/build_timestamp)
export HAVE_BUILD_TIMESTAMP=$(OPENMRNPATH)/build_timestamp
SUBDIRS = targets doc applications #test
include $(OPENMRNPATH)/etc/recurse.mk
# Makes sure all the targets are compiled before building the test application.
build-test: build-targets
tests-test: build-targets
build-applications: build-targets
tests-applications: build-targets
.PHONY: docs cov
docs:
$(MAKE) -C doc docs || exit 1;
docsw:
cat $(OPENMRNPATH)/doc/warnings
cov:
$(MAKE) -C targets/cov cov
tests:
$(MAKE) -C targets/cov tests
llvm-tests:
$(MAKE) -C targets/linux.llvm run-tests
js-tests:
$(MAKE) -C targets/js.emscripten run-tests
alltests: tests llvm-tests