created cleanrules.mk
[libbear.git] / Makefile
CommitLineData
6da586f4 1
72482893 2# The first and therefor default rule
91a299db
PG
3.PHONY: default
4default:
3fc83b9f 5
f1e07aad 6
ebb35834
PG
7G_DIRMK := dir.mk
8G_VARSMK := vars.mk
9G_FILESMK := files.mk
10G_RULESMK := rules.mk
11G_LISTSMK := lists.mk
12G_TVARSMK := tvars.mk
630fa680 13
7b1ed706 14include ${G_LISTSMK}
6b7bcb90 15include ${G_VARSMK}
7bbc50a4 16
fac0f562 17include packages.mk
fac0f562 18
6b7bcb90
PG
19include lib/${G_VARSMK}
20
21include targets.mk
630fa680 22
5e936898 23# include all of the dir.mk
7bbc50a4 24include lib/${G_DIRMK}
5417a0bc 25
a98a33a6 26include tests/${G_DIRMK}
5417a0bc 27-include physics/${G_DIRMK}
7bbc50a4 28
016c4cab
PG
29include ${G_RULESMK}
30
7bbc50a4
PG
31# Do not include deps files when doing a clean operation
32ifeq ($(filter ${L_CLEANCMDS},${MAKECMDGOALS}),)
33 -include ${L_DEPS}
34endif
6da586f4 35