forked from faudio/faudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
74 lines (54 loc) · 1.36 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
62
63
64
65
66
67
68
69
70
71
72
73
# Makefile to invoke build/Makefile
BUILD_DIRECTORY = build
DEBUGGER = lldb
MAKE = make --no-print-directory
.PHONY: all
all:
@pushd $(BUILD_DIRECTORY); $(MAKE) all; popd;
.PHONY: fresh
fresh: clean all
.PHONY: help
help:
@pushd $(BUILD_DIRECTORY); $(MAKE) help; popd;
.PHONY: clean
clean:
@pushd $(BUILD_DIRECTORY); $(MAKE) clean; popd;
.PHONY: depend
depend:
@pushd $(BUILD_DIRECTORY); $(MAKE) depend; popd;
.PHONY: modules
modules:
make -f modules/Makefile;
.PHONY: bindings
bindings:
make -f modules/Makefile bindings;
.PHONY: edit_cache
edit_cache:
@pushd $(BUILD_DIRECTORY); $(MAKE) edit_cache; popd;
.PHONY: rebuild_cache
rebuild_cache:
@pushd $(BUILD_DIRECTORY); $(MAKE) rebuild_cache; popd;
.PHONY: components_print
components_print:
@pushd $(BUILD_DIRECTORY); $(MAKE) components_print; popd;
.PHONY: components_resolve
components_resolve:
@pushd $(BUILD_DIRECTORY); $(MAKE) components_resolve; popd;
.PHONY: components_clean
components_clean:
@pushd $(BUILD_DIRECTORY); $(MAKE) components_clean; popd;
.PHONY: format
format:
astyle -n -r "shared/*.c" "platform/*.c" "test/*.c" "tools/*.c"
.PHONY: doc
doc:
make -f doc/Makefile
.PHONY: test
test: all
build/bin/fa_tests;
.PHONY: debug
debug: all
$(DEBUGGER) build/bin/fa_tests;
.PHONY: run_scorecleaner
run_scorecleaner:
@pushd $(BUILD_DIRECTORY); $(MAKE) run_scorecleaner; popd;