0b7c77979634a58badf361fd317051b9ce6e2736
[libbear.git] / Makefile
1
2 # The first and therefor default rule
3 .PHONY: default
4 default:
5
6 # Suppress all builtin variables and rules
7 MAKEFLAGS               += -rR
8
9 # Suppress all command printing
10 MAKEFLAGS               += -s
11
12 G_DIRMK     := dir.mk
13 G_VARSMK    := vars.mk
14 G_FILESMK   := files.mk
15 G_RULESMK   := rules.mk
16 G_LISTSMK   := lists.mk
17 G_TVARSMK   := tvars.mk
18
19 include Makefile.d/${G_VARSMK}
20
21 include ${G_LISTSMK}
22 include ${G_VARSMK}
23
24 include packages.mk
25
26 include lib/${G_VARSMK}
27
28 include targets.mk
29
30 # include all of the dir.mk
31 include lib/${G_DIRMK}
32
33 include tests/${G_DIRMK}
34 include physics/${G_DIRMK}
35
36 include ${G_RULESMK}
37
38 # Do not warn or error if not found, dependencies will get created with the object files
39 -include ${L_DEPS}
40