Commit | Line | Data |
---|---|---|
318de304 | 1 | |
f1e07aad | 2 | G_LIB := ${P_LIB} |
cd194531 PG |
3 | |
4 | G_ALL_LIB := all-${G_LIB} | |
5 | .PHONY: ${G_ALL_LIB} | |
318de304 | 6 | |
f1e07aad | 7 | G_OBJS_LIB := objs-${G_LIB} |
adc2e516 PG |
8 | .PHONY: ${G_OBJS_LIB} |
9 | ||
f1e07aad | 10 | G_DEPS_LIB := deps-${G_LIB} |
adc2e516 | 11 | .PHONY: ${G_DEPS_LIB} |
318de304 | 12 | |
c3f228a5 | 13 | TARGET_${G_LIB} := ${BINDIR_${G_LIB}}/${REALNAME_${G_LIB}} |
6b7bcb90 PG |
14 | |
15 | ||
f1e07aad | 16 | G_TESTS := ${P_TESTS} |
cd194531 PG |
17 | |
18 | G_ALL_TESTS := all-${G_TESTS} | |
19 | .PHONY: ${G_ALL_TESTS} | |
318de304 | 20 | |
f1e07aad | 21 | G_OBJS_TESTS := objs-${G_TESTS} |
adc2e516 PG |
22 | .PHONY: ${G_OBJS_TESTS} |
23 | ||
f1e07aad | 24 | G_DEPS_TESTS := deps-${G_TESTS} |
adc2e516 | 25 | .PHONY: ${G_DEPS_TESTS} |
a98a33a6 | 26 | |
a98a33a6 | 27 | |
6cff7bb1 PG |
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 | ||
ebb35834 PG |
40 | L_CLEANCMDS += cleanbin |
41 | .PHONY: cleanbin | |
caa7531c PG |
42 | cleanbin: |
43 | ||
ebb35834 PG |
44 | L_CLEANCMDS += cleanobjs |
45 | .PHONY: cleanobjs | |
caa7531c PG |
46 | cleanobjs: |
47 | ||
ebb35834 PG |
48 | L_CLEANCMDS += cleandeps |
49 | .PHONY: cleandeps | |
caa7531c PG |
50 | cleandeps: |
51 | ||
ebb35834 PG |
52 | L_CLEANCMDS += clean |
53 | .PHONY: clean | |
aff142e7 | 54 | clean: cleanbin cleanobjs cleandeps |
adc2e516 PG |
55 | |
56 | ||
cd194531 | 57 | default: ${G_ALL_LIB} |
15e36d23 | 58 | |
adc2e516 | 59 | .PHONY: all |
9b5659a4 | 60 | all: ${G_ALL_LIB} ${G_ALL_TESTS} ${G_ALL_PHYSICS} |
adc2e516 PG |
61 | |
62 | .PHONY: objs | |
9b5659a4 | 63 | objs: ${G_OBJS_LIB} ${G_OBJS_TESTS} ${G_OBJS_PHYSICS} |
adc2e516 PG |
64 | |
65 | .PHONY: deps | |
9b5659a4 | 66 | deps: ${G_DEPS_LIB} ${G_DEPS_TESTS} ${G_DEPS_PHYSICS} |
ebb35834 | 67 |