-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
61 lines (40 loc) · 1.28 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
root = .
default: all
all: build all-recursive
all-here: configuration
meson compile -C build
all-recursive: all-here libraries-all-recursive tools-all-recursive data-all-recursive source-all-recursive
build:
meson setup build
check:
meson test -C build
@$(MAKE) -C libraries check
@$(MAKE) -C tools check
clean: clean-recursive
clean-here:
@$(RM) -R build
clean-recursive: clean-here
@$(MAKE) -C data clean-recursive
@$(MAKE) -C libraries clean-recursive
@$(MAKE) -C source clean-recursive
@$(MAKE) -C tools clean-recursive
clean-repository: clean
$(RM) -R .configuration.d
$(RM) configuration
configuration:
./configure
data: data-all-recursive
libraries: libraries-all-recursive
source: source-all-recursive
tools: tools-all-recursive
data-all-recursive:
@$(MAKE) -C data all-recursive
libraries-all-recursive:
@$(MAKE) -C libraries all-recursive
source-all-recursive:
@$(MAKE) -C source all-recursive
tools-all-recursive:
@$(MAKE) -C tools all-recursive
install: all
@echo -e "This project is not installable yet. Please run \"./galactic-fall\" from the top directory."
.PHONY: all all-here all-recursive clean clean-here clean-recursive data data-all-recursive default install libraries libraries-all-recursive source source-all-recursive tools tools-all-recursive