fixed velocity math mistake, updated gravtiy well force to look better
[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 .PHONY:         cleanbin
41 cleanbin:
42
43 .PHONY:         cleanobjs
44 cleanobjs:
45
46 .PHONY:         cleandeps
47 cleandeps:
48
49 .PHONY:         clean
50 clean: cleanbin cleanobjs cleandeps
51
52
53 default: ${G_ALL_lib}
54
55 .PHONY: all
56 all: ${G_ALL_lib} ${G_ALL_tests} ${G_ALL_physics}
57
58 .PHONY: objs
59 objs: ${G_OBJS_lib} ${G_OBJS_tests} ${G_OBJS_physics}
60
61 .PHONY: deps
62 deps: ${G_DEPS_lib} ${G_DEPS_tests} ${G_DEPS_physics}
63