Commit | Line | Data |
---|---|---|
318de304 | 1 | |
298ae0ec | 2 | G_lib := ${P_lib} |
cd194531 | 3 | |
298ae0ec PG |
4 | G_ALL_lib := all-${G_lib} |
5 | .PHONY: ${G_ALL_lib} | |
318de304 | 6 | |
298ae0ec PG |
7 | G_OBJS_lib := objs-${G_lib} |
8 | .PHONY: ${G_OBJS_lib} | |
adc2e516 | 9 | |
298ae0ec PG |
10 | G_DEPS_lib := deps-${G_lib} |
11 | .PHONY: ${G_DEPS_lib} | |
318de304 | 12 | |
298ae0ec | 13 | TARGET_${G_lib} := ${BINDIR_${G_lib}}/${REALNAME_${G_lib}} |
6b7bcb90 PG |
14 | |
15 | ||
298ae0ec | 16 | G_tests := ${P_tests} |
cd194531 | 17 | |
298ae0ec PG |
18 | G_ALL_tests := all-${G_tests} |
19 | .PHONY: ${G_ALL_tests} | |
318de304 | 20 | |
298ae0ec PG |
21 | G_OBJS_tests := objs-${G_tests} |
22 | .PHONY: ${G_OBJS_tests} | |
adc2e516 | 23 | |
298ae0ec PG |
24 | G_DEPS_tests := deps-${G_tests} |
25 | .PHONY: ${G_DEPS_tests} | |
a98a33a6 | 26 | |
a98a33a6 | 27 | |
298ae0ec | 28 | G_physics := ${P_physics} |
6cff7bb1 | 29 | |
298ae0ec PG |
30 | G_ALL_physics := all-${G_physics} |
31 | .PHONY: ${G_ALL_physics} | |
6cff7bb1 | 32 | |
298ae0ec PG |
33 | G_OBJS_physics := objs-${G_physics} |
34 | .PHONY: ${G_OBJS_physics} | |
6cff7bb1 | 35 | |
298ae0ec PG |
36 | G_DEPS_physics := deps-${G_physics} |
37 | .PHONY: ${G_DEPS_physics} | |
6cff7bb1 PG |
38 | |
39 | ||
ebb35834 | 40 | .PHONY: cleanbin |
caa7531c PG |
41 | cleanbin: |
42 | ||
ebb35834 | 43 | .PHONY: cleanobjs |
caa7531c PG |
44 | cleanobjs: |
45 | ||
ebb35834 | 46 | .PHONY: cleandeps |
caa7531c PG |
47 | cleandeps: |
48 | ||
ebb35834 | 49 | .PHONY: clean |
aff142e7 | 50 | clean: cleanbin cleanobjs cleandeps |
adc2e516 PG |
51 | |
52 | ||
298ae0ec | 53 | default: ${G_ALL_lib} |
15e36d23 | 54 | |
adc2e516 | 55 | .PHONY: all |
298ae0ec | 56 | all: ${G_ALL_lib} ${G_ALL_tests} ${G_ALL_physics} |
adc2e516 PG |
57 | |
58 | .PHONY: objs | |
298ae0ec | 59 | objs: ${G_OBJS_lib} ${G_OBJS_tests} ${G_OBJS_physics} |
adc2e516 PG |
60 | |
61 | .PHONY: deps | |
298ae0ec | 62 | deps: ${G_DEPS_lib} ${G_DEPS_tests} ${G_DEPS_physics} |
ebb35834 | 63 |