clean now cleans bin, mkdir does not use -p
[libbear.git] / targets.mk
CommitLineData
318de304
PG
1
2# LIB: the target of the lib directory
7bbc50a4
PG
3G_LIB := lib
4.PHONY: ${G_LIB}
318de304 5
7bbc50a4
PG
6G_LIB_OBJS := lib-objs
7.PHONY: ${G_LIB_OBJS}
318de304 8
7bbc50a4
PG
9G_LIB_DEPS := lib-deps
10.PHONY: ${G_LIB_DEPS}
318de304
PG
11
12# TESTS: build all of the tests
7bbc50a4
PG
13G_TESTS := tests
14.PHONY: ${G_TESTS}
318de304 15
a98a33a6
PG
16G_TESTS_OBJS := tests-objs
17.PHONY: ${G_TESTS_OBJS}
18
19G_TESTS_DEPS := tests-deps
20.PHONY: ${G_TESTS_DEPS}
21
7bbc50a4 22L_CLEANCMDS += cleanbin
caa7531c
PG
23.PHONY: cleanbin
24cleanbin:
25
7bbc50a4 26L_CLEANCMDS += cleanobjs
caa7531c
PG
27.PHONY: cleanobjs
28cleanobjs:
29
7bbc50a4 30L_CLEANCMDS += cleandeps
caa7531c
PG
31.PHONY: cleandeps
32cleandeps:
33
7bbc50a4 34L_CLEANCMDS += clean
caa7531c
PG
35.PHONY: clean
36clean: cleanobjs
37
7bbc50a4 38L_CLEANCMDS += cleanall
caa7531c
PG
39.PHONY: cleanall
40cleanall: cleanbin cleanobjs cleandeps