added reference to netbeans bug
[libbear.git] / targets.mk
1
2 G_LIB := ${P_LIB}
3
4 G_ALL_LIB := all-${G_LIB}
5 .PHONY: ${G_ALL_LIB}
6
7 G_OBJS_LIB := objs-${G_LIB}
8 .PHONY: ${G_OBJS_LIB}
9
10 G_DEPS_LIB := deps-${G_LIB}
11 .PHONY: ${G_DEPS_LIB}
12
13 TARGET_${G_LIB} := ${BINDIR_${G_LIB}}/${REALNAME_${G_LIB}}
14
15
16 G_TESTS := ${P_TESTS}
17
18 G_ALL_TESTS := all-${G_TESTS}
19 .PHONY: ${G_ALL_TESTS}
20
21 G_OBJS_TESTS := objs-${G_TESTS}
22 .PHONY: ${G_OBJS_TESTS}
23
24 G_DEPS_TESTS := deps-${G_TESTS}
25 .PHONY: ${G_DEPS_TESTS}
26
27
28 G_PHYSICS := ${P_PHYSICS}
29
30 G_ALL_PHYSICS := all-${G_PHYSICS}
31 .PHONY: ${G_ALL_PHYSICS}
32
33 G_OBJS_PHYSICS := objs-${G_PHYSICS}
34 .PHONY: ${G_OBJS_PHYSICS}
35
36 G_DEPS_PHYSICS := deps-${G_PHYSICS}
37 .PHONY: ${G_DEPS_PHYSICS}
38
39
40 L_CLEANCMDS +=  cleanbin
41 .PHONY:         cleanbin
42 cleanbin:
43
44 L_CLEANCMDS +=  cleanobjs
45 .PHONY:         cleanobjs
46 cleanobjs:
47
48 L_CLEANCMDS +=  cleandeps
49 .PHONY:         cleandeps
50 cleandeps:
51
52 L_CLEANCMDS +=  clean
53 .PHONY:         clean
54 clean: cleanbin cleanobjs cleandeps
55
56
57 default: ${G_ALL_LIB}
58
59 .PHONY: all
60 all: ${G_ALL_LIB} ${G_ALL_TESTS} ${G_ALL_PHYSICS}
61
62 .PHONY: objs
63 objs: ${G_OBJS_LIB} ${G_OBJS_TESTS} ${G_OBJS_PHYSICS}
64
65 .PHONY: deps
66 deps: ${G_DEPS_LIB} ${G_DEPS_TESTS} ${G_DEPS_PHYSICS}
67