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