created global lib varibles
[libbear.git] / Makefile
CommitLineData
6da586f4 1
11c73ff2 2# set this on the command line to get a WIN32 or a FINAL build
ebb35834 3BUILD := DEBUG
2e58db1a 4
630fa680
PG
5# cause the fancy $${@D} directory rules to work out
6.SECONDEXPANSION:
7
72482893 8# The first and therefor default rule
91a299db
PG
9.PHONY: default
10default:
3fc83b9f 11
f1e07aad 12
ebb35834
PG
13G_DIRMK := dir.mk
14G_VARSMK := vars.mk
15G_FILESMK := files.mk
16G_RULESMK := rules.mk
17G_LISTSMK := lists.mk
18G_TVARSMK := tvars.mk
630fa680 19
7b1ed706 20include ${G_LISTSMK}
7bbc50a4 21
fac0f562
PG
22include packages.mk
23include targets.mk
fac0f562 24
7bbc50a4 25include ${G_VARSMK}
630fa680 26
5e936898 27# include all of the dir.mk
7bbc50a4 28include lib/${G_DIRMK}
a98a33a6 29include tests/${G_DIRMK}
7bbc50a4 30
016c4cab
PG
31include ${G_RULESMK}
32
7bbc50a4
PG
33# Do not include deps files when doing a clean operation
34ifeq ($(filter ${L_CLEANCMDS},${MAKECMDGOALS}),)
35 -include ${L_DEPS}
36endif
6da586f4 37