Commit | Line | Data |
---|---|---|
318de304 PG |
1 | |
2 | # LIB: the target of the lib directory | |
7bbc50a4 PG |
3 | G_LIB := lib |
4 | .PHONY: ${G_LIB} | |
318de304 | 5 | |
7bbc50a4 PG |
6 | G_LIB_OBJS := lib-objs |
7 | .PHONY: ${G_LIB_OBJS} | |
318de304 | 8 | |
7bbc50a4 PG |
9 | G_LIB_DEPS := lib-deps |
10 | .PHONY: ${G_LIB_DEPS} | |
318de304 PG |
11 | |
12 | # TESTS: build all of the tests | |
7bbc50a4 PG |
13 | G_TESTS := tests |
14 | .PHONY: ${G_TESTS} | |
318de304 | 15 | |
a98a33a6 PG |
16 | G_TESTS_OBJS := tests-objs |
17 | .PHONY: ${G_TESTS_OBJS} | |
18 | ||
19 | G_TESTS_DEPS := tests-deps | |
20 | .PHONY: ${G_TESTS_DEPS} | |
21 | ||
7bbc50a4 | 22 | L_CLEANCMDS += cleanbin |
caa7531c PG |
23 | .PHONY: cleanbin |
24 | cleanbin: | |
25 | ||
7bbc50a4 | 26 | L_CLEANCMDS += cleanobjs |
caa7531c PG |
27 | .PHONY: cleanobjs |
28 | cleanobjs: | |
29 | ||
7bbc50a4 | 30 | L_CLEANCMDS += cleandeps |
caa7531c PG |
31 | .PHONY: cleandeps |
32 | cleandeps: | |
33 | ||
7bbc50a4 | 34 | L_CLEANCMDS += clean |
caa7531c PG |
35 | .PHONY: clean |
36 | clean: cleanobjs | |
37 | ||
7bbc50a4 | 38 | L_CLEANCMDS += cleanall |
caa7531c PG |
39 | .PHONY: cleanall |
40 | cleanall: cleanbin cleanobjs cleandeps |