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