.d files are now created with .o files
[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 Makefile.d/${G_VARSMK}
15
16 include ${G_LISTSMK}
17 include ${G_VARSMK}
18
19 include packages.mk
20
21 include lib/${G_VARSMK}
22
23 include targets.mk
24
25 # include all of the dir.mk
26 include lib/${G_DIRMK}
27
28 include tests/${G_DIRMK}
29 -include physics/${G_DIRMK}
30
31 include ${G_RULESMK}
32
33 # Do not include deps files when doing a clean operation
34 ifeq ($(filter ${L_CLEANCMDS},${MAKECMDGOALS}),)
35     -include ${L_DEPS}
36 endif
37