aa9091452d426186b14f73e4cf6098e86fd913c1
[libbear.git] / Makefile
1
2 # The first and therefor default rule
3 .PHONY: default
4 default:
5
6 G_DIRMK     := dir.mk
7 G_VARSMK    := vars.mk
8 G_FILESMK   := files.mk
9 G_RULESMK   := rules.mk
10 G_LISTSMK   := lists.mk
11 G_TVARSMK   := tvars.mk
12
13 include Makefile.d/${G_VARSMK}
14
15 include ${G_LISTSMK}
16 include ${G_VARSMK}
17
18 include packages.mk
19
20 include lib/${G_VARSMK}
21
22 include targets.mk
23
24 # include all of the dir.mk
25 include lib/${G_DIRMK}
26
27 include tests/${G_DIRMK}
28 include physics/${G_DIRMK}
29
30 include ${G_RULESMK}
31
32 # Do not include deps files when doing a clean operation
33 ifeq ($(filter ${L_CLEANCMDS},${MAKECMDGOALS}),)
34     -include ${L_DEPS}
35 endif
36