moved dir dep rule to package level
[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
7bbc50a4 20
fac0f562
PG
21include packages.mk
22include targets.mk
fac0f562
PG
23
24
7bbc50a4
PG
25include ${G_VARSMK}
26include ${G_LISTSMK}
630fa680 27
5e936898 28# include all of the dir.mk
7bbc50a4 29include lib/${G_DIRMK}
a98a33a6 30include tests/${G_DIRMK}
7bbc50a4 31
016c4cab
PG
32include ${G_RULESMK}
33
7bbc50a4
PG
34# Do not include deps files when doing a clean operation
35ifeq ($(filter ${L_CLEANCMDS},${MAKECMDGOALS}),)
36 -include ${L_DEPS}
37endif
6da586f4 38