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