-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 762 Bytes
/
Makefile
File metadata and controls
33 lines (25 loc) · 762 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
.PHONY: all utils modules test clean
ifeq ($(OS),Windows_NT)
MAKEFILE := Makefile.win
include utils\.Makefile.win # For $(CONVSYM), $(CBUNDLE)
else
MAKEFILE := Makefile
include utils/.Makefile # For $(CONVSYM), $(CBUNDLE)
endif
all: utils modules
utils: $(CONVSYM) $(CBUNDLE)
modules:
$(MAKE) -C modules/mdshell -f $(MAKEFILE)
$(MAKE) -C modules/errorhandler -f $(MAKEFILE)
test: all
$(MAKE) -C utils/convsym test -f $(MAKEFILE)
$(MAKE) -C utils/cbundle test -f $(MAKEFILE)
$(MAKE) -C modules/mdshell tests -f $(MAKEFILE)
$(MAKE) -C modules/errorhandler tests -f $(MAKEFILE)
$(MAKE) -C modules/errorhandler-core tests -f $(MAKEFILE)
clean:
ifeq ($(OS),Windows_NT)
-rd /q /s build\modules build\utils
else
rm -drf build/modules build/utils
endif