5fa441775c7798fe4ead940158b4c58e4123391c
[libbear.git] / Makefile
1
2 # set this on the command line to get a WIN32 or a FINAL build
3 BUILD := DEBUG
4
5 # cause the fancy $${@D} directory rules to work out
6 .SECONDEXPANSION:
7
8 # The first and therefor default rule
9 .PHONY: default
10 default:
11
12
13 G_DIRMK     := dir.mk
14 G_VARSMK    := vars.mk
15 G_FILESMK   := files.mk
16 G_RULESMK   := rules.mk
17 G_LISTSMK   := lists.mk
18 G_TVARSMK   := tvars.mk
19
20
21 include packages.mk
22 include targets.mk
23 include ${G_RULESMK}
24
25
26 include ${G_VARSMK}
27 include ${G_LISTSMK}
28
29 # include all of the dir.mk
30 include lib/${G_DIRMK}
31 include tests/${G_DIRMK}
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