c20587b83242faed55141f911c23896a1dbabd94
[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 include packages.mk
14 include targets.mk
15
16
17 G_DIRMK     := dir.mk
18 G_VARSMK    := vars.mk
19 G_FILESMK   := files.mk
20 G_RULESMK   := rules.mk
21 G_LISTSMK   := lists.mk
22 G_TVARSMK   := tvars.mk
23
24
25 include ${G_VARSMK}
26 include ${G_LISTSMK}
27
28 # include all of the dir.mk
29 include lib/${G_DIRMK}
30 include tests/${G_DIRMK}
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