aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9\/build/gnu
diff options
context:
space:
mode:
authordan miller2007-10-19 04:28:53 +0000
committerdan miller2007-10-19 04:28:53 +0000
commit0fc46fc9590912bf6925c899edd02d7a2cdf5f79 (patch)
tree51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9\/build/gnu
parentsmall bit of refactoring (diff)
downloadopensim-SC_OLD-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.zip
opensim-SC_OLD-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.gz
opensim-SC_OLD-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.bz2
opensim-SC_OLD-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.xz
adding ode source to /libraries
Diffstat (limited to 'libraries/ode-0.9\/build/gnu')
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/Makefile155
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_I.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_basket.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_boxstack.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_buggy.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_chain1.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_chain2.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_collision.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_crash.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_cyl.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_cylvssphere.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_feedback.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_friction.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_heightfield.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_hinge.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_joints.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_motor.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_moving_trimesh.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_ode.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_plane2d.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_slider.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_space.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_space_stress.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_step.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/demo_trimesh.make124
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/drawstuff.make130
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/ode.make706
-rwxr-xr-xlibraries/ode-0.9\/build/gnu/tests.make166
28 files changed, 4133 insertions, 0 deletions
diff --git a/libraries/ode-0.9\/build/gnu/Makefile b/libraries/ode-0.9\/build/gnu/Makefile
new file mode 100755
index 0000000..e392a26
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/Makefile
@@ -0,0 +1,155 @@
1# Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3# Options:
4# CONFIG=[DebugDLL|ReleaseDLL|DebugLib|ReleaseLib]
5
6ifndef CONFIG
7 CONFIG=DebugDLL
8endif
9
10export CONFIG
11
12.PHONY: all clean ode drawstuff demo_boxstack demo_buggy demo_chain1 demo_chain2 demo_collision demo_crash demo_feedback demo_friction demo_heightfield demo_hinge demo_I demo_joints demo_motor demo_ode demo_plane2d demo_slider demo_space demo_space_stress demo_step demo_basket demo_cyl demo_moving_trimesh demo_trimesh demo_cylvssphere tests
13
14all: ode drawstuff demo_boxstack demo_buggy demo_chain1 demo_chain2 demo_collision demo_crash demo_feedback demo_friction demo_heightfield demo_hinge demo_I demo_joints demo_motor demo_ode demo_plane2d demo_slider demo_space demo_space_stress demo_step demo_basket demo_cyl demo_moving_trimesh demo_trimesh demo_cylvssphere tests
15
16Makefile: ../premake.lua ../ode.lua ../drawstuff.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../demos.lua ../tests.lua
17 @echo ==== Regenerating Makefiles ====
18 @premake --file $^ --usetargetpath --with-demos --with-tests --clean --target gnu
19
20ode:
21 @echo ==== Building ode ====
22 @$(MAKE) --no-print-directory -C . -f ode.make
23
24drawstuff:
25 @echo ==== Building drawstuff ====
26 @$(MAKE) --no-print-directory -C . -f drawstuff.make
27
28demo_boxstack: ode drawstuff
29 @echo ==== Building demo_boxstack ====
30 @$(MAKE) --no-print-directory -C . -f demo_boxstack.make
31
32demo_buggy: ode drawstuff
33 @echo ==== Building demo_buggy ====
34 @$(MAKE) --no-print-directory -C . -f demo_buggy.make
35
36demo_chain1: ode drawstuff
37 @echo ==== Building demo_chain1 ====
38 @$(MAKE) --no-print-directory -C . -f demo_chain1.make
39
40demo_chain2: ode drawstuff
41 @echo ==== Building demo_chain2 ====
42 @$(MAKE) --no-print-directory -C . -f demo_chain2.make
43
44demo_collision: ode drawstuff
45 @echo ==== Building demo_collision ====
46 @$(MAKE) --no-print-directory -C . -f demo_collision.make
47
48demo_crash: ode drawstuff
49 @echo ==== Building demo_crash ====
50 @$(MAKE) --no-print-directory -C . -f demo_crash.make
51
52demo_feedback: ode drawstuff
53 @echo ==== Building demo_feedback ====
54 @$(MAKE) --no-print-directory -C . -f demo_feedback.make
55
56demo_friction: ode drawstuff
57 @echo ==== Building demo_friction ====
58 @$(MAKE) --no-print-directory -C . -f demo_friction.make
59
60demo_heightfield: ode drawstuff
61 @echo ==== Building demo_heightfield ====
62 @$(MAKE) --no-print-directory -C . -f demo_heightfield.make
63
64demo_hinge: ode drawstuff
65 @echo ==== Building demo_hinge ====
66 @$(MAKE) --no-print-directory -C . -f demo_hinge.make
67
68demo_I: ode drawstuff
69 @echo ==== Building demo_I ====
70 @$(MAKE) --no-print-directory -C . -f demo_I.make
71
72demo_joints: ode drawstuff
73 @echo ==== Building demo_joints ====
74 @$(MAKE) --no-print-directory -C . -f demo_joints.make
75
76demo_motor: ode drawstuff
77 @echo ==== Building demo_motor ====
78 @$(MAKE) --no-print-directory -C . -f demo_motor.make
79
80demo_ode: ode drawstuff
81 @echo ==== Building demo_ode ====
82 @$(MAKE) --no-print-directory -C . -f demo_ode.make
83
84demo_plane2d: ode drawstuff
85 @echo ==== Building demo_plane2d ====
86 @$(MAKE) --no-print-directory -C . -f demo_plane2d.make
87
88demo_slider: ode drawstuff
89 @echo ==== Building demo_slider ====
90 @$(MAKE) --no-print-directory -C . -f demo_slider.make
91
92demo_space: ode drawstuff
93 @echo ==== Building demo_space ====
94 @$(MAKE) --no-print-directory -C . -f demo_space.make
95
96demo_space_stress: ode drawstuff
97 @echo ==== Building demo_space_stress ====
98 @$(MAKE) --no-print-directory -C . -f demo_space_stress.make
99
100demo_step: ode drawstuff
101 @echo ==== Building demo_step ====
102 @$(MAKE) --no-print-directory -C . -f demo_step.make
103
104demo_basket: ode drawstuff
105 @echo ==== Building demo_basket ====
106 @$(MAKE) --no-print-directory -C . -f demo_basket.make
107
108demo_cyl: ode drawstuff
109 @echo ==== Building demo_cyl ====
110 @$(MAKE) --no-print-directory -C . -f demo_cyl.make
111
112demo_moving_trimesh: ode drawstuff
113 @echo ==== Building demo_moving_trimesh ====
114 @$(MAKE) --no-print-directory -C . -f demo_moving_trimesh.make
115
116demo_trimesh: ode drawstuff
117 @echo ==== Building demo_trimesh ====
118 @$(MAKE) --no-print-directory -C . -f demo_trimesh.make
119
120demo_cylvssphere: ode drawstuff
121 @echo ==== Building demo_cylvssphere ====
122 @$(MAKE) --no-print-directory -C . -f demo_cylvssphere.make
123
124tests: ode
125 @echo ==== Building tests ====
126 @$(MAKE) --no-print-directory -C . -f tests.make
127
128clean:
129 @$(MAKE) --no-print-directory -C . -f ode.make clean
130 @$(MAKE) --no-print-directory -C . -f drawstuff.make clean
131 @$(MAKE) --no-print-directory -C . -f demo_boxstack.make clean
132 @$(MAKE) --no-print-directory -C . -f demo_buggy.make clean
133 @$(MAKE) --no-print-directory -C . -f demo_chain1.make clean
134 @$(MAKE) --no-print-directory -C . -f demo_chain2.make clean
135 @$(MAKE) --no-print-directory -C . -f demo_collision.make clean
136 @$(MAKE) --no-print-directory -C . -f demo_crash.make clean
137 @$(MAKE) --no-print-directory -C . -f demo_feedback.make clean
138 @$(MAKE) --no-print-directory -C . -f demo_friction.make clean
139 @$(MAKE) --no-print-directory -C . -f demo_heightfield.make clean
140 @$(MAKE) --no-print-directory -C . -f demo_hinge.make clean
141 @$(MAKE) --no-print-directory -C . -f demo_I.make clean
142 @$(MAKE) --no-print-directory -C . -f demo_joints.make clean
143 @$(MAKE) --no-print-directory -C . -f demo_motor.make clean
144 @$(MAKE) --no-print-directory -C . -f demo_ode.make clean
145 @$(MAKE) --no-print-directory -C . -f demo_plane2d.make clean
146 @$(MAKE) --no-print-directory -C . -f demo_slider.make clean
147 @$(MAKE) --no-print-directory -C . -f demo_space.make clean
148 @$(MAKE) --no-print-directory -C . -f demo_space_stress.make clean
149 @$(MAKE) --no-print-directory -C . -f demo_step.make clean
150 @$(MAKE) --no-print-directory -C . -f demo_basket.make clean
151 @$(MAKE) --no-print-directory -C . -f demo_cyl.make clean
152 @$(MAKE) --no-print-directory -C . -f demo_moving_trimesh.make clean
153 @$(MAKE) --no-print-directory -C . -f demo_trimesh.make clean
154 @$(MAKE) --no-print-directory -C . -f demo_cylvssphere.make clean
155 @$(MAKE) --no-print-directory -C . -f tests.make clean
diff --git a/libraries/ode-0.9\/build/gnu/demo_I.make b/libraries/ode-0.9\/build/gnu/demo_I.make
new file mode 100755
index 0000000..4e661c2
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_I.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/I/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_I.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/I/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_I.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/I/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_I.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/I/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_I.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_I.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_I
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_I
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_I.o: ../../ode/demo/demo_I.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_basket.make b/libraries/ode-0.9\/build/gnu/demo_basket.make
new file mode 100755
index 0000000..ba7605a
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_basket.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/basket/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_basket.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/basket/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_basket.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/basket/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_basket.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/basket/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_basket.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_basket.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_basket
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_basket
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_basket.o: ../../ode/demo/demo_basket.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_boxstack.make b/libraries/ode-0.9\/build/gnu/demo_boxstack.make
new file mode 100755
index 0000000..9e3f3d7
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_boxstack.make
@@ -0,0 +1,124 @@
1# C++ Static Library Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/boxstack/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_boxstack.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/boxstack/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_boxstack.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/boxstack/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_boxstack.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/boxstack/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_boxstack.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_boxstack.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_boxstack
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_boxstack
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_boxstack.o: ../../ode/demo/demo_boxstack.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_buggy.make b/libraries/ode-0.9\/build/gnu/demo_buggy.make
new file mode 100755
index 0000000..1fe86ee
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_buggy.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/buggy/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_buggy.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/buggy/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_buggy.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/buggy/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_buggy.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/buggy/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_buggy.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_buggy.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_buggy
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_buggy
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_buggy.o: ../../ode/demo/demo_buggy.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_chain1.make b/libraries/ode-0.9\/build/gnu/demo_chain1.make
new file mode 100755
index 0000000..5aeaa9b
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_chain1.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/chain1/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_chain1.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/chain1/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_chain1.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/chain1/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_chain1.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/chain1/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_chain1.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_chain1.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_chain1
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_chain1
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_chain1.o: ../../ode/demo/demo_chain1.c
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CC) $(CFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_chain2.make b/libraries/ode-0.9\/build/gnu/demo_chain2.make
new file mode 100755
index 0000000..c5ebf07
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_chain2.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/chain2/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_chain2.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/chain2/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_chain2.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/chain2/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_chain2.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/chain2/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_chain2.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_chain2.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_chain2
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_chain2
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_chain2.o: ../../ode/demo/demo_chain2.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_collision.make b/libraries/ode-0.9\/build/gnu/demo_collision.make
new file mode 100755
index 0000000..1ce042a
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_collision.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/collision/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_collision.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/collision/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_collision.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/collision/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_collision.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/collision/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_collision.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_collision.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_collision
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_collision
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_collision.o: ../../ode/demo/demo_collision.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_crash.make b/libraries/ode-0.9\/build/gnu/demo_crash.make
new file mode 100755
index 0000000..8e22ec5
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_crash.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/crash/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_crash.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/crash/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_crash.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/crash/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_crash.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/crash/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_crash.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_crash.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_crash
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_crash
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_crash.o: ../../ode/demo/demo_crash.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_cyl.make b/libraries/ode-0.9\/build/gnu/demo_cyl.make
new file mode 100755
index 0000000..9258ae8
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_cyl.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/cyl/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_cyl.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/cyl/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_cyl.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/cyl/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_cyl.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/cyl/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_cyl.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_cyl.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_cyl
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_cyl
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_cyl.o: ../../ode/demo/demo_cyl.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_cylvssphere.make b/libraries/ode-0.9\/build/gnu/demo_cylvssphere.make
new file mode 100755
index 0000000..a153c24
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_cylvssphere.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/cylvssphere/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_cylvssphere.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/cylvssphere/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_cylvssphere.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/cylvssphere/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_cylvssphere.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/cylvssphere/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_cylvssphere.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_cylvssphere.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_cylvssphere
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_cylvssphere
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_cylvssphere.o: ../../ode/demo/demo_cylvssphere.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_feedback.make b/libraries/ode-0.9\/build/gnu/demo_feedback.make
new file mode 100755
index 0000000..e3e53ab
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_feedback.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/feedback/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_feedback.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/feedback/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_feedback.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/feedback/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_feedback.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/feedback/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_feedback.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_feedback.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_feedback
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_feedback
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_feedback.o: ../../ode/demo/demo_feedback.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_friction.make b/libraries/ode-0.9\/build/gnu/demo_friction.make
new file mode 100755
index 0000000..2d58919
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_friction.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/friction/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_friction.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/friction/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_friction.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/friction/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_friction.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/friction/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_friction.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_friction.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_friction
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_friction
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_friction.o: ../../ode/demo/demo_friction.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_heightfield.make b/libraries/ode-0.9\/build/gnu/demo_heightfield.make
new file mode 100755
index 0000000..f60cb0c
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_heightfield.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/heightfield/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_heightfield.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/heightfield/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_heightfield.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/heightfield/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_heightfield.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/heightfield/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_heightfield.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_heightfield.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_heightfield
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_heightfield
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_heightfield.o: ../../ode/demo/demo_heightfield.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_hinge.make b/libraries/ode-0.9\/build/gnu/demo_hinge.make
new file mode 100755
index 0000000..17e17b2
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_hinge.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/hinge/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_hinge.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/hinge/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_hinge.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/hinge/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_hinge.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/hinge/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_hinge.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_hinge.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_hinge
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_hinge
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_hinge.o: ../../ode/demo/demo_hinge.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_joints.make b/libraries/ode-0.9\/build/gnu/demo_joints.make
new file mode 100755
index 0000000..d1581ab
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_joints.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/joints/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_joints.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/joints/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_joints.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/joints/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_joints.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/joints/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_joints.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_joints.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_joints
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_joints
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_joints.o: ../../ode/demo/demo_joints.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_motor.make b/libraries/ode-0.9\/build/gnu/demo_motor.make
new file mode 100755
index 0000000..b49b00d
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_motor.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/motor/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_motor.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/motor/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_motor.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/motor/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_motor.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/motor/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_motor.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_motor.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_motor
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_motor
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_motor.o: ../../ode/demo/demo_motor.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_moving_trimesh.make b/libraries/ode-0.9\/build/gnu/demo_moving_trimesh.make
new file mode 100755
index 0000000..381c7bf
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_moving_trimesh.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/moving_trimesh/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_moving_trimesh.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/moving_trimesh/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_moving_trimesh.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/moving_trimesh/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_moving_trimesh.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/moving_trimesh/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_moving_trimesh.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_moving_trimesh.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_moving_trimesh
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_moving_trimesh
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_moving_trimesh.o: ../../ode/demo/demo_moving_trimesh.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_ode.make b/libraries/ode-0.9\/build/gnu/demo_ode.make
new file mode 100755
index 0000000..3c5b3a5
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_ode.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/ode/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_ode.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/ode/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_ode.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/ode/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_ode.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/ode/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_ode.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_ode.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_ode
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_ode
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_ode.o: ../../ode/demo/demo_ode.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_plane2d.make b/libraries/ode-0.9\/build/gnu/demo_plane2d.make
new file mode 100755
index 0000000..aa07b22
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_plane2d.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/plane2d/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_plane2d.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/plane2d/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_plane2d.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/plane2d/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_plane2d.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/plane2d/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_plane2d.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_plane2d.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_plane2d
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_plane2d
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_plane2d.o: ../../ode/demo/demo_plane2d.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_slider.make b/libraries/ode-0.9\/build/gnu/demo_slider.make
new file mode 100755
index 0000000..ed3dc42
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_slider.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/slider/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_slider.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/slider/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_slider.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/slider/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_slider.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/slider/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_slider.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_slider.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_slider
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_slider
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_slider.o: ../../ode/demo/demo_slider.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_space.make b/libraries/ode-0.9\/build/gnu/demo_space.make
new file mode 100755
index 0000000..352b3ac
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_space.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/space/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_space.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/space/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_space.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/space/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_space.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/space/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_space.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_space.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_space
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_space
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_space.o: ../../ode/demo/demo_space.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_space_stress.make b/libraries/ode-0.9\/build/gnu/demo_space_stress.make
new file mode 100755
index 0000000..e55f9b8
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_space_stress.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/space_stress/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_space_stress.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/space_stress/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_space_stress.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/space_stress/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_space_stress.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/space_stress/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_space_stress.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_space_stress.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_space_stress
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_space_stress
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_space_stress.o: ../../ode/demo/demo_space_stress.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_step.make b/libraries/ode-0.9\/build/gnu/demo_step.make
new file mode 100755
index 0000000..9d33c53
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_step.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/step/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_step.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/step/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_step.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/step/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_step.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/step/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_step.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_step.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_step
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_step
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_step.o: ../../ode/demo/demo_step.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/demo_trimesh.make b/libraries/ode-0.9\/build/gnu/demo_trimesh.make
new file mode 100755
index 0000000..15973d3
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/demo_trimesh.make
@@ -0,0 +1,124 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/trimesh/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
17 LDDEPS := ../../lib/DebugDLL/ode.dll ../../lib/DebugDLL/drawstuff.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
19 TARGET := demo_trimesh.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/trimesh/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll ../../lib/ReleaseDLL/drawstuff.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
34 TARGET := demo_trimesh.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/trimesh/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
47 LDDEPS := ../../lib/DebugLib/libode.a ../../lib/DebugLib/libdrawstuff.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
49 TARGET := demo_trimesh.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/trimesh/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a -luser32 -lwinmm -lgdi32 -lopengl32 -lglu32
62 LDDEPS := ../../lib/ReleaseLib/libode.a ../../lib/ReleaseLib/libdrawstuff.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -D "WIN32" -I "../../include"
64 TARGET := demo_trimesh.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/demo_trimesh.o \
70
71RESOURCES := \
72 $(OBJDIR)/resources.res \
73
74MKDIR_TYPE := msdos
75CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
76ifeq (,$(CMD))
77 MKDIR_TYPE := posix
78endif
79ifeq (/bin/sh.exe,$(SHELL))
80 MKDIR_TYPE := posix
81endif
82ifeq ($(MKDIR_TYPE),posix)
83 CMD_MKBINDIR := mkdir -p $(BINDIR)
84 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
85 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
86 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
87else
88 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
89 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
90 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
91 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
92endif
93
94.PHONY: clean
95
96$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
97 @echo Linking demo_trimesh
98 -@$(CMD_MKBINDIR)
99 -@$(CMD_MKLIBDIR)
100 -@$(CMD_MKOUTDIR)
101 @$(BLDCMD)
102
103clean:
104 @echo Cleaning demo_trimesh
105ifeq ($(MKDIR_TYPE),posix)
106 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
107else
108 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
109 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
110 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
111endif
112
113$(OBJDIR)/demo_trimesh.o: ../../ode/demo/demo_trimesh.cpp
114 -@$(CMD_MKOBJDIR)
115 @echo $(notdir $<)
116 @$(CXX) $(CXXFLAGS) -o $@ -c $<
117
118$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
119 -@$(CMD_MKOBJDIR)
120 @echo $(notdir $<)
121 @windres $< -O coff -o $@ $(RESFLAGS)
122
123-include $(OBJECTS:%.o=%.d)
124
diff --git a/libraries/ode-0.9\/build/gnu/drawstuff.make b/libraries/ode-0.9\/build/gnu/drawstuff.make
new file mode 100755
index 0000000..5d55c53
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/drawstuff.make
@@ -0,0 +1,130 @@
1# C++ Static Library Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/drawstuff/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "WIN32" -D "DS_DLL" -D "USRDLL" -I "../../include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -luser32 -lopengl32 -lglu32 -lwinmm -lgdi32
17 LDDEPS :=
18 RESFLAGS := -D "WIN32" -D "DS_DLL" -D "USRDLL" -I "../../include"
19 TARGET := drawstuff.dll
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/drawstuff/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "WIN32" -D "DS_DLL" -D "USRDLL" -I "../../include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O3 -fomit-frame-pointer
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -s -luser32 -lopengl32 -lglu32 -lwinmm -lgdi32
32 LDDEPS :=
33 RESFLAGS := -D "WIN32" -D "DS_DLL" -D "USRDLL" -I "../../include"
34 TARGET := drawstuff.dll
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/drawstuff/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "WIN32" -D "DS_LIB" -I "../../include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -luser32 -lopengl32 -lglu32 -lwinmm -lgdi32
47 LDDEPS :=
48 RESFLAGS := -D "WIN32" -D "DS_LIB" -I "../../include"
49 TARGET := libdrawstuff.a
50 BLDCMD = ar -rcs $(OUTDIR)/$(TARGET) $(OBJECTS) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/drawstuff/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "WIN32" -D "DS_LIB" -I "../../include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O3 -fomit-frame-pointer
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -s -luser32 -lopengl32 -lglu32 -lwinmm -lgdi32
62 LDDEPS :=
63 RESFLAGS := -D "WIN32" -D "DS_LIB" -I "../../include"
64 TARGET := libdrawstuff.a
65 BLDCMD = ar -rcs $(OUTDIR)/$(TARGET) $(OBJECTS) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/drawstuff.o \
70 $(OBJDIR)/windows.o \
71
72RESOURCES := \
73 $(OBJDIR)/resources.res \
74
75MKDIR_TYPE := msdos
76CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
77ifeq (,$(CMD))
78 MKDIR_TYPE := posix
79endif
80ifeq (/bin/sh.exe,$(SHELL))
81 MKDIR_TYPE := posix
82endif
83ifeq ($(MKDIR_TYPE),posix)
84 CMD_MKBINDIR := mkdir -p $(BINDIR)
85 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
86 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
87 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
88else
89 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
90 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
91 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
92 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
93endif
94
95.PHONY: clean
96
97$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
98 @echo Linking drawstuff
99 -@$(CMD_MKBINDIR)
100 -@$(CMD_MKLIBDIR)
101 -@$(CMD_MKOUTDIR)
102 @$(BLDCMD)
103
104clean:
105 @echo Cleaning drawstuff
106ifeq ($(MKDIR_TYPE),posix)
107 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
108else
109 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
110 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
111 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
112endif
113
114$(OBJDIR)/drawstuff.o: ../../drawstuff/src/drawstuff.cpp
115 -@$(CMD_MKOBJDIR)
116 @echo $(notdir $<)
117 @$(CXX) $(CXXFLAGS) -o $@ -c $<
118
119$(OBJDIR)/windows.o: ../../drawstuff/src/windows.cpp
120 -@$(CMD_MKOBJDIR)
121 @echo $(notdir $<)
122 @$(CXX) $(CXXFLAGS) -o $@ -c $<
123
124$(OBJDIR)/resources.res: ../../drawstuff/src/resources.rc
125 -@$(CMD_MKOBJDIR)
126 @echo $(notdir $<)
127 @windres $< -O coff -o $@ $(RESFLAGS)
128
129-include $(OBJECTS:%.o=%.d)
130
diff --git a/libraries/ode-0.9\/build/gnu/ode.make b/libraries/ode-0.9\/build/gnu/ode.make
new file mode 100755
index 0000000..413a5aa
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/ode.make
@@ -0,0 +1,706 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/ode/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "WIN32" -D "ODE_DLL" -I "../../include" -I "../../OPCODE" -I "../../GIMPACT/include"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -luser32
17 LDDEPS :=
18 RESFLAGS := -D "WIN32" -D "ODE_DLL" -I "../../include" -I "../../OPCODE" -I "../../GIMPACT/include"
19 TARGET := ode.dll
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/ode/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "WIN32" -D "ODE_DLL" -I "../../include" -I "../../OPCODE" -I "../../GIMPACT/include"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O3 -fomit-frame-pointer
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -s -luser32
32 LDDEPS :=
33 RESFLAGS := -D "WIN32" -D "ODE_DLL" -I "../../include" -I "../../OPCODE" -I "../../GIMPACT/include"
34 TARGET := ode.dll
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/ode/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "WIN32" -D "ODE_LIB" -I "../../include" -I "../../OPCODE" -I "../../GIMPACT/include"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -luser32
47 LDDEPS :=
48 RESFLAGS := -D "WIN32" -D "ODE_LIB" -I "../../include" -I "../../OPCODE" -I "../../GIMPACT/include"
49 TARGET := libode.a
50 BLDCMD = ar -rcs $(OUTDIR)/$(TARGET) $(OBJECTS) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/ode/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "WIN32" -D "ODE_LIB" -I "../../include" -I "../../OPCODE" -I "../../GIMPACT/include"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O3 -fomit-frame-pointer
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -s -luser32
62 LDDEPS :=
63 RESFLAGS := -D "WIN32" -D "ODE_LIB" -I "../../include" -I "../../OPCODE" -I "../../GIMPACT/include"
64 TARGET := libode.a
65 BLDCMD = ar -rcs $(OUTDIR)/$(TARGET) $(OBJECTS) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/fastdot.o \
70 $(OBJDIR)/fastldlt.o \
71 $(OBJDIR)/fastlsolve.o \
72 $(OBJDIR)/fastltsolve.o \
73 $(OBJDIR)/array.o \
74 $(OBJDIR)/box.o \
75 $(OBJDIR)/capsule.o \
76 $(OBJDIR)/collision_cylinder_box.o \
77 $(OBJDIR)/collision_cylinder_plane.o \
78 $(OBJDIR)/collision_cylinder_sphere.o \
79 $(OBJDIR)/collision_cylinder_trimesh.o \
80 $(OBJDIR)/collision_kernel.o \
81 $(OBJDIR)/collision_quadtreespace.o \
82 $(OBJDIR)/collision_space.o \
83 $(OBJDIR)/collision_transform.o \
84 $(OBJDIR)/collision_trimesh_box.o \
85 $(OBJDIR)/collision_trimesh_ccylinder.o \
86 $(OBJDIR)/collision_trimesh_distance.o \
87 $(OBJDIR)/collision_trimesh_gimpact.o \
88 $(OBJDIR)/collision_trimesh_opcode.o \
89 $(OBJDIR)/collision_trimesh_plane.o \
90 $(OBJDIR)/collision_trimesh_ray.o \
91 $(OBJDIR)/collision_trimesh_sphere.o \
92 $(OBJDIR)/collision_trimesh_trimesh.o \
93 $(OBJDIR)/collision_trimesh_trimesh_new.o \
94 $(OBJDIR)/collision_util.o \
95 $(OBJDIR)/convex.o \
96 $(OBJDIR)/cylinder.o \
97 $(OBJDIR)/error.o \
98 $(OBJDIR)/export-dif.o \
99 $(OBJDIR)/heightfield.o \
100 $(OBJDIR)/joint.o \
101 $(OBJDIR)/lcp.o \
102 $(OBJDIR)/mass.o \
103 $(OBJDIR)/mat.o \
104 $(OBJDIR)/matrix.o \
105 $(OBJDIR)/memory.o \
106 $(OBJDIR)/misc.o \
107 $(OBJDIR)/obstack.o \
108 $(OBJDIR)/ode.o \
109 $(OBJDIR)/odemath.o \
110 $(OBJDIR)/plane.o \
111 $(OBJDIR)/quickstep.o \
112 $(OBJDIR)/ray.o \
113 $(OBJDIR)/rotation.o \
114 $(OBJDIR)/sphere.o \
115 $(OBJDIR)/step.o \
116 $(OBJDIR)/stepfast.o \
117 $(OBJDIR)/testing.o \
118 $(OBJDIR)/timer.o \
119 $(OBJDIR)/util.o \
120 $(OBJDIR)/gimpact.o \
121 $(OBJDIR)/gim_boxpruning.o \
122 $(OBJDIR)/gim_contact.o \
123 $(OBJDIR)/gim_math.o \
124 $(OBJDIR)/gim_memory.o \
125 $(OBJDIR)/gim_trimesh.o \
126 $(OBJDIR)/gim_trimesh_capsule_collision.o \
127 $(OBJDIR)/gim_trimesh_ray_collision.o \
128 $(OBJDIR)/gim_trimesh_sphere_collision.o \
129 $(OBJDIR)/gim_trimesh_trimesh_collision.o \
130 $(OBJDIR)/gim_tri_tri_overlap.o \
131 $(OBJDIR)/Opcode.o \
132 $(OBJDIR)/OPC_AABBCollider.o \
133 $(OBJDIR)/OPC_AABBTree.o \
134 $(OBJDIR)/OPC_BaseModel.o \
135 $(OBJDIR)/OPC_BoxPruning.o \
136 $(OBJDIR)/OPC_Collider.o \
137 $(OBJDIR)/OPC_Common.o \
138 $(OBJDIR)/OPC_HybridModel.o \
139 $(OBJDIR)/OPC_LSSCollider.o \
140 $(OBJDIR)/OPC_MeshInterface.o \
141 $(OBJDIR)/OPC_Model.o \
142 $(OBJDIR)/OPC_OBBCollider.o \
143 $(OBJDIR)/OPC_OptimizedTree.o \
144 $(OBJDIR)/OPC_Picking.o \
145 $(OBJDIR)/OPC_PlanesCollider.o \
146 $(OBJDIR)/OPC_RayCollider.o \
147 $(OBJDIR)/OPC_SphereCollider.o \
148 $(OBJDIR)/OPC_SweepAndPrune.o \
149 $(OBJDIR)/OPC_TreeBuilders.o \
150 $(OBJDIR)/OPC_TreeCollider.o \
151 $(OBJDIR)/OPC_VolumeCollider.o \
152 $(OBJDIR)/StdAfx.o \
153 $(OBJDIR)/IceAABB.o \
154 $(OBJDIR)/IceContainer.o \
155 $(OBJDIR)/IceHPoint.o \
156 $(OBJDIR)/IceIndexedTriangle.o \
157 $(OBJDIR)/IceMatrix3x3.o \
158 $(OBJDIR)/IceMatrix4x4.o \
159 $(OBJDIR)/IceOBB.o \
160 $(OBJDIR)/IcePlane.o \
161 $(OBJDIR)/IcePoint.o \
162 $(OBJDIR)/IceRandom.o \
163 $(OBJDIR)/IceRay.o \
164 $(OBJDIR)/IceRevisitedRadix.o \
165 $(OBJDIR)/IceSegment.o \
166 $(OBJDIR)/IceTriangle.o \
167 $(OBJDIR)/IceUtils.o \
168
169RESOURCES := \
170
171MKDIR_TYPE := msdos
172CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
173ifeq (,$(CMD))
174 MKDIR_TYPE := posix
175endif
176ifeq (/bin/sh.exe,$(SHELL))
177 MKDIR_TYPE := posix
178endif
179ifeq ($(MKDIR_TYPE),posix)
180 CMD_MKBINDIR := mkdir -p $(BINDIR)
181 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
182 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
183 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
184else
185 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
186 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
187 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
188 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
189endif
190
191.PHONY: clean
192
193$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
194 @echo Linking ode
195 -@$(CMD_MKBINDIR)
196 -@$(CMD_MKLIBDIR)
197 -@$(CMD_MKOUTDIR)
198 @$(BLDCMD)
199
200clean:
201 @echo Cleaning ode
202ifeq ($(MKDIR_TYPE),posix)
203 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
204else
205 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
206 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
207 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
208endif
209
210$(OBJDIR)/fastdot.o: ../../ode/src/fastdot.c
211 -@$(CMD_MKOBJDIR)
212 @echo $(notdir $<)
213 @$(CC) $(CFLAGS) -o $@ -c $<
214
215$(OBJDIR)/fastldlt.o: ../../ode/src/fastldlt.c
216 -@$(CMD_MKOBJDIR)
217 @echo $(notdir $<)
218 @$(CC) $(CFLAGS) -o $@ -c $<
219
220$(OBJDIR)/fastlsolve.o: ../../ode/src/fastlsolve.c
221 -@$(CMD_MKOBJDIR)
222 @echo $(notdir $<)
223 @$(CC) $(CFLAGS) -o $@ -c $<
224
225$(OBJDIR)/fastltsolve.o: ../../ode/src/fastltsolve.c
226 -@$(CMD_MKOBJDIR)
227 @echo $(notdir $<)
228 @$(CC) $(CFLAGS) -o $@ -c $<
229
230$(OBJDIR)/array.o: ../../ode/src/array.cpp
231 -@$(CMD_MKOBJDIR)
232 @echo $(notdir $<)
233 @$(CXX) $(CXXFLAGS) -o $@ -c $<
234
235$(OBJDIR)/box.o: ../../ode/src/box.cpp
236 -@$(CMD_MKOBJDIR)
237 @echo $(notdir $<)
238 @$(CXX) $(CXXFLAGS) -o $@ -c $<
239
240$(OBJDIR)/capsule.o: ../../ode/src/capsule.cpp
241 -@$(CMD_MKOBJDIR)
242 @echo $(notdir $<)
243 @$(CXX) $(CXXFLAGS) -o $@ -c $<
244
245$(OBJDIR)/collision_cylinder_box.o: ../../ode/src/collision_cylinder_box.cpp
246 -@$(CMD_MKOBJDIR)
247 @echo $(notdir $<)
248 @$(CXX) $(CXXFLAGS) -o $@ -c $<
249
250$(OBJDIR)/collision_cylinder_plane.o: ../../ode/src/collision_cylinder_plane.cpp
251 -@$(CMD_MKOBJDIR)
252 @echo $(notdir $<)
253 @$(CXX) $(CXXFLAGS) -o $@ -c $<
254
255$(OBJDIR)/collision_cylinder_sphere.o: ../../ode/src/collision_cylinder_sphere.cpp
256 -@$(CMD_MKOBJDIR)
257 @echo $(notdir $<)
258 @$(CXX) $(CXXFLAGS) -o $@ -c $<
259
260$(OBJDIR)/collision_cylinder_trimesh.o: ../../ode/src/collision_cylinder_trimesh.cpp
261 -@$(CMD_MKOBJDIR)
262 @echo $(notdir $<)
263 @$(CXX) $(CXXFLAGS) -o $@ -c $<
264
265$(OBJDIR)/collision_kernel.o: ../../ode/src/collision_kernel.cpp
266 -@$(CMD_MKOBJDIR)
267 @echo $(notdir $<)
268 @$(CXX) $(CXXFLAGS) -o $@ -c $<
269
270$(OBJDIR)/collision_quadtreespace.o: ../../ode/src/collision_quadtreespace.cpp
271 -@$(CMD_MKOBJDIR)
272 @echo $(notdir $<)
273 @$(CXX) $(CXXFLAGS) -o $@ -c $<
274
275$(OBJDIR)/collision_space.o: ../../ode/src/collision_space.cpp
276 -@$(CMD_MKOBJDIR)
277 @echo $(notdir $<)
278 @$(CXX) $(CXXFLAGS) -o $@ -c $<
279
280$(OBJDIR)/collision_transform.o: ../../ode/src/collision_transform.cpp
281 -@$(CMD_MKOBJDIR)
282 @echo $(notdir $<)
283 @$(CXX) $(CXXFLAGS) -o $@ -c $<
284
285$(OBJDIR)/collision_trimesh_box.o: ../../ode/src/collision_trimesh_box.cpp
286 -@$(CMD_MKOBJDIR)
287 @echo $(notdir $<)
288 @$(CXX) $(CXXFLAGS) -o $@ -c $<
289
290$(OBJDIR)/collision_trimesh_ccylinder.o: ../../ode/src/collision_trimesh_ccylinder.cpp
291 -@$(CMD_MKOBJDIR)
292 @echo $(notdir $<)
293 @$(CXX) $(CXXFLAGS) -o $@ -c $<
294
295$(OBJDIR)/collision_trimesh_distance.o: ../../ode/src/collision_trimesh_distance.cpp
296 -@$(CMD_MKOBJDIR)
297 @echo $(notdir $<)
298 @$(CXX) $(CXXFLAGS) -o $@ -c $<
299
300$(OBJDIR)/collision_trimesh_gimpact.o: ../../ode/src/collision_trimesh_gimpact.cpp
301 -@$(CMD_MKOBJDIR)
302 @echo $(notdir $<)
303 @$(CXX) $(CXXFLAGS) -o $@ -c $<
304
305$(OBJDIR)/collision_trimesh_opcode.o: ../../ode/src/collision_trimesh_opcode.cpp
306 -@$(CMD_MKOBJDIR)
307 @echo $(notdir $<)
308 @$(CXX) $(CXXFLAGS) -o $@ -c $<
309
310$(OBJDIR)/collision_trimesh_plane.o: ../../ode/src/collision_trimesh_plane.cpp
311 -@$(CMD_MKOBJDIR)
312 @echo $(notdir $<)
313 @$(CXX) $(CXXFLAGS) -o $@ -c $<
314
315$(OBJDIR)/collision_trimesh_ray.o: ../../ode/src/collision_trimesh_ray.cpp
316 -@$(CMD_MKOBJDIR)
317 @echo $(notdir $<)
318 @$(CXX) $(CXXFLAGS) -o $@ -c $<
319
320$(OBJDIR)/collision_trimesh_sphere.o: ../../ode/src/collision_trimesh_sphere.cpp
321 -@$(CMD_MKOBJDIR)
322 @echo $(notdir $<)
323 @$(CXX) $(CXXFLAGS) -o $@ -c $<
324
325$(OBJDIR)/collision_trimesh_trimesh.o: ../../ode/src/collision_trimesh_trimesh.cpp
326 -@$(CMD_MKOBJDIR)
327 @echo $(notdir $<)
328 @$(CXX) $(CXXFLAGS) -o $@ -c $<
329
330$(OBJDIR)/collision_trimesh_trimesh_new.o: ../../ode/src/collision_trimesh_trimesh_new.cpp
331 -@$(CMD_MKOBJDIR)
332 @echo $(notdir $<)
333 @$(CXX) $(CXXFLAGS) -o $@ -c $<
334
335$(OBJDIR)/collision_util.o: ../../ode/src/collision_util.cpp
336 -@$(CMD_MKOBJDIR)
337 @echo $(notdir $<)
338 @$(CXX) $(CXXFLAGS) -o $@ -c $<
339
340$(OBJDIR)/convex.o: ../../ode/src/convex.cpp
341 -@$(CMD_MKOBJDIR)
342 @echo $(notdir $<)
343 @$(CXX) $(CXXFLAGS) -o $@ -c $<
344
345$(OBJDIR)/cylinder.o: ../../ode/src/cylinder.cpp
346 -@$(CMD_MKOBJDIR)
347 @echo $(notdir $<)
348 @$(CXX) $(CXXFLAGS) -o $@ -c $<
349
350$(OBJDIR)/error.o: ../../ode/src/error.cpp
351 -@$(CMD_MKOBJDIR)
352 @echo $(notdir $<)
353 @$(CXX) $(CXXFLAGS) -o $@ -c $<
354
355$(OBJDIR)/export-dif.o: ../../ode/src/export-dif.cpp
356 -@$(CMD_MKOBJDIR)
357 @echo $(notdir $<)
358 @$(CXX) $(CXXFLAGS) -o $@ -c $<
359
360$(OBJDIR)/heightfield.o: ../../ode/src/heightfield.cpp
361 -@$(CMD_MKOBJDIR)
362 @echo $(notdir $<)
363 @$(CXX) $(CXXFLAGS) -o $@ -c $<
364
365$(OBJDIR)/joint.o: ../../ode/src/joint.cpp
366 -@$(CMD_MKOBJDIR)
367 @echo $(notdir $<)
368 @$(CXX) $(CXXFLAGS) -o $@ -c $<
369
370$(OBJDIR)/lcp.o: ../../ode/src/lcp.cpp
371 -@$(CMD_MKOBJDIR)
372 @echo $(notdir $<)
373 @$(CXX) $(CXXFLAGS) -o $@ -c $<
374
375$(OBJDIR)/mass.o: ../../ode/src/mass.cpp
376 -@$(CMD_MKOBJDIR)
377 @echo $(notdir $<)
378 @$(CXX) $(CXXFLAGS) -o $@ -c $<
379
380$(OBJDIR)/mat.o: ../../ode/src/mat.cpp
381 -@$(CMD_MKOBJDIR)
382 @echo $(notdir $<)
383 @$(CXX) $(CXXFLAGS) -o $@ -c $<
384
385$(OBJDIR)/matrix.o: ../../ode/src/matrix.cpp
386 -@$(CMD_MKOBJDIR)
387 @echo $(notdir $<)
388 @$(CXX) $(CXXFLAGS) -o $@ -c $<
389
390$(OBJDIR)/memory.o: ../../ode/src/memory.cpp
391 -@$(CMD_MKOBJDIR)
392 @echo $(notdir $<)
393 @$(CXX) $(CXXFLAGS) -o $@ -c $<
394
395$(OBJDIR)/misc.o: ../../ode/src/misc.cpp
396 -@$(CMD_MKOBJDIR)
397 @echo $(notdir $<)
398 @$(CXX) $(CXXFLAGS) -o $@ -c $<
399
400$(OBJDIR)/obstack.o: ../../ode/src/obstack.cpp
401 -@$(CMD_MKOBJDIR)
402 @echo $(notdir $<)
403 @$(CXX) $(CXXFLAGS) -o $@ -c $<
404
405$(OBJDIR)/ode.o: ../../ode/src/ode.cpp
406 -@$(CMD_MKOBJDIR)
407 @echo $(notdir $<)
408 @$(CXX) $(CXXFLAGS) -o $@ -c $<
409
410$(OBJDIR)/odemath.o: ../../ode/src/odemath.cpp
411 -@$(CMD_MKOBJDIR)
412 @echo $(notdir $<)
413 @$(CXX) $(CXXFLAGS) -o $@ -c $<
414
415$(OBJDIR)/plane.o: ../../ode/src/plane.cpp
416 -@$(CMD_MKOBJDIR)
417 @echo $(notdir $<)
418 @$(CXX) $(CXXFLAGS) -o $@ -c $<
419
420$(OBJDIR)/quickstep.o: ../../ode/src/quickstep.cpp
421 -@$(CMD_MKOBJDIR)
422 @echo $(notdir $<)
423 @$(CXX) $(CXXFLAGS) -o $@ -c $<
424
425$(OBJDIR)/ray.o: ../../ode/src/ray.cpp
426 -@$(CMD_MKOBJDIR)
427 @echo $(notdir $<)
428 @$(CXX) $(CXXFLAGS) -o $@ -c $<
429
430$(OBJDIR)/rotation.o: ../../ode/src/rotation.cpp
431 -@$(CMD_MKOBJDIR)
432 @echo $(notdir $<)
433 @$(CXX) $(CXXFLAGS) -o $@ -c $<
434
435$(OBJDIR)/sphere.o: ../../ode/src/sphere.cpp
436 -@$(CMD_MKOBJDIR)
437 @echo $(notdir $<)
438 @$(CXX) $(CXXFLAGS) -o $@ -c $<
439
440$(OBJDIR)/step.o: ../../ode/src/step.cpp
441 -@$(CMD_MKOBJDIR)
442 @echo $(notdir $<)
443 @$(CXX) $(CXXFLAGS) -o $@ -c $<
444
445$(OBJDIR)/stepfast.o: ../../ode/src/stepfast.cpp
446 -@$(CMD_MKOBJDIR)
447 @echo $(notdir $<)
448 @$(CXX) $(CXXFLAGS) -o $@ -c $<
449
450$(OBJDIR)/testing.o: ../../ode/src/testing.cpp
451 -@$(CMD_MKOBJDIR)
452 @echo $(notdir $<)
453 @$(CXX) $(CXXFLAGS) -o $@ -c $<
454
455$(OBJDIR)/timer.o: ../../ode/src/timer.cpp
456 -@$(CMD_MKOBJDIR)
457 @echo $(notdir $<)
458 @$(CXX) $(CXXFLAGS) -o $@ -c $<
459
460$(OBJDIR)/util.o: ../../ode/src/util.cpp
461 -@$(CMD_MKOBJDIR)
462 @echo $(notdir $<)
463 @$(CXX) $(CXXFLAGS) -o $@ -c $<
464
465$(OBJDIR)/gimpact.o: ../../GIMPACT/src/gimpact.cpp
466 -@$(CMD_MKOBJDIR)
467 @echo $(notdir $<)
468 @$(CXX) $(CXXFLAGS) -o $@ -c $<
469
470$(OBJDIR)/gim_boxpruning.o: ../../GIMPACT/src/gim_boxpruning.cpp
471 -@$(CMD_MKOBJDIR)
472 @echo $(notdir $<)
473 @$(CXX) $(CXXFLAGS) -o $@ -c $<
474
475$(OBJDIR)/gim_contact.o: ../../GIMPACT/src/gim_contact.cpp
476 -@$(CMD_MKOBJDIR)
477 @echo $(notdir $<)
478 @$(CXX) $(CXXFLAGS) -o $@ -c $<
479
480$(OBJDIR)/gim_math.o: ../../GIMPACT/src/gim_math.cpp
481 -@$(CMD_MKOBJDIR)
482 @echo $(notdir $<)
483 @$(CXX) $(CXXFLAGS) -o $@ -c $<
484
485$(OBJDIR)/gim_memory.o: ../../GIMPACT/src/gim_memory.cpp
486 -@$(CMD_MKOBJDIR)
487 @echo $(notdir $<)
488 @$(CXX) $(CXXFLAGS) -o $@ -c $<
489
490$(OBJDIR)/gim_trimesh.o: ../../GIMPACT/src/gim_trimesh.cpp
491 -@$(CMD_MKOBJDIR)
492 @echo $(notdir $<)
493 @$(CXX) $(CXXFLAGS) -o $@ -c $<
494
495$(OBJDIR)/gim_trimesh_capsule_collision.o: ../../GIMPACT/src/gim_trimesh_capsule_collision.cpp
496 -@$(CMD_MKOBJDIR)
497 @echo $(notdir $<)
498 @$(CXX) $(CXXFLAGS) -o $@ -c $<
499
500$(OBJDIR)/gim_trimesh_ray_collision.o: ../../GIMPACT/src/gim_trimesh_ray_collision.cpp
501 -@$(CMD_MKOBJDIR)
502 @echo $(notdir $<)
503 @$(CXX) $(CXXFLAGS) -o $@ -c $<
504
505$(OBJDIR)/gim_trimesh_sphere_collision.o: ../../GIMPACT/src/gim_trimesh_sphere_collision.cpp
506 -@$(CMD_MKOBJDIR)
507 @echo $(notdir $<)
508 @$(CXX) $(CXXFLAGS) -o $@ -c $<
509
510$(OBJDIR)/gim_trimesh_trimesh_collision.o: ../../GIMPACT/src/gim_trimesh_trimesh_collision.cpp
511 -@$(CMD_MKOBJDIR)
512 @echo $(notdir $<)
513 @$(CXX) $(CXXFLAGS) -o $@ -c $<
514
515$(OBJDIR)/gim_tri_tri_overlap.o: ../../GIMPACT/src/gim_tri_tri_overlap.cpp
516 -@$(CMD_MKOBJDIR)
517 @echo $(notdir $<)
518 @$(CXX) $(CXXFLAGS) -o $@ -c $<
519
520$(OBJDIR)/Opcode.o: ../../OPCODE/Opcode.cpp
521 -@$(CMD_MKOBJDIR)
522 @echo $(notdir $<)
523 @$(CXX) $(CXXFLAGS) -o $@ -c $<
524
525$(OBJDIR)/OPC_AABBCollider.o: ../../OPCODE/OPC_AABBCollider.cpp
526 -@$(CMD_MKOBJDIR)
527 @echo $(notdir $<)
528 @$(CXX) $(CXXFLAGS) -o $@ -c $<
529
530$(OBJDIR)/OPC_AABBTree.o: ../../OPCODE/OPC_AABBTree.cpp
531 -@$(CMD_MKOBJDIR)
532 @echo $(notdir $<)
533 @$(CXX) $(CXXFLAGS) -o $@ -c $<
534
535$(OBJDIR)/OPC_BaseModel.o: ../../OPCODE/OPC_BaseModel.cpp
536 -@$(CMD_MKOBJDIR)
537 @echo $(notdir $<)
538 @$(CXX) $(CXXFLAGS) -o $@ -c $<
539
540$(OBJDIR)/OPC_BoxPruning.o: ../../OPCODE/OPC_BoxPruning.cpp
541 -@$(CMD_MKOBJDIR)
542 @echo $(notdir $<)
543 @$(CXX) $(CXXFLAGS) -o $@ -c $<
544
545$(OBJDIR)/OPC_Collider.o: ../../OPCODE/OPC_Collider.cpp
546 -@$(CMD_MKOBJDIR)
547 @echo $(notdir $<)
548 @$(CXX) $(CXXFLAGS) -o $@ -c $<
549
550$(OBJDIR)/OPC_Common.o: ../../OPCODE/OPC_Common.cpp
551 -@$(CMD_MKOBJDIR)
552 @echo $(notdir $<)
553 @$(CXX) $(CXXFLAGS) -o $@ -c $<
554
555$(OBJDIR)/OPC_HybridModel.o: ../../OPCODE/OPC_HybridModel.cpp
556 -@$(CMD_MKOBJDIR)
557 @echo $(notdir $<)
558 @$(CXX) $(CXXFLAGS) -o $@ -c $<
559
560$(OBJDIR)/OPC_LSSCollider.o: ../../OPCODE/OPC_LSSCollider.cpp
561 -@$(CMD_MKOBJDIR)
562 @echo $(notdir $<)
563 @$(CXX) $(CXXFLAGS) -o $@ -c $<
564
565$(OBJDIR)/OPC_MeshInterface.o: ../../OPCODE/OPC_MeshInterface.cpp
566 -@$(CMD_MKOBJDIR)
567 @echo $(notdir $<)
568 @$(CXX) $(CXXFLAGS) -o $@ -c $<
569
570$(OBJDIR)/OPC_Model.o: ../../OPCODE/OPC_Model.cpp
571 -@$(CMD_MKOBJDIR)
572 @echo $(notdir $<)
573 @$(CXX) $(CXXFLAGS) -o $@ -c $<
574
575$(OBJDIR)/OPC_OBBCollider.o: ../../OPCODE/OPC_OBBCollider.cpp
576 -@$(CMD_MKOBJDIR)
577 @echo $(notdir $<)
578 @$(CXX) $(CXXFLAGS) -o $@ -c $<
579
580$(OBJDIR)/OPC_OptimizedTree.o: ../../OPCODE/OPC_OptimizedTree.cpp
581 -@$(CMD_MKOBJDIR)
582 @echo $(notdir $<)
583 @$(CXX) $(CXXFLAGS) -o $@ -c $<
584
585$(OBJDIR)/OPC_Picking.o: ../../OPCODE/OPC_Picking.cpp
586 -@$(CMD_MKOBJDIR)
587 @echo $(notdir $<)
588 @$(CXX) $(CXXFLAGS) -o $@ -c $<
589
590$(OBJDIR)/OPC_PlanesCollider.o: ../../OPCODE/OPC_PlanesCollider.cpp
591 -@$(CMD_MKOBJDIR)
592 @echo $(notdir $<)
593 @$(CXX) $(CXXFLAGS) -o $@ -c $<
594
595$(OBJDIR)/OPC_RayCollider.o: ../../OPCODE/OPC_RayCollider.cpp
596 -@$(CMD_MKOBJDIR)
597 @echo $(notdir $<)
598 @$(CXX) $(CXXFLAGS) -o $@ -c $<
599
600$(OBJDIR)/OPC_SphereCollider.o: ../../OPCODE/OPC_SphereCollider.cpp
601 -@$(CMD_MKOBJDIR)
602 @echo $(notdir $<)
603 @$(CXX) $(CXXFLAGS) -o $@ -c $<
604
605$(OBJDIR)/OPC_SweepAndPrune.o: ../../OPCODE/OPC_SweepAndPrune.cpp
606 -@$(CMD_MKOBJDIR)
607 @echo $(notdir $<)
608 @$(CXX) $(CXXFLAGS) -o $@ -c $<
609
610$(OBJDIR)/OPC_TreeBuilders.o: ../../OPCODE/OPC_TreeBuilders.cpp
611 -@$(CMD_MKOBJDIR)
612 @echo $(notdir $<)
613 @$(CXX) $(CXXFLAGS) -o $@ -c $<
614
615$(OBJDIR)/OPC_TreeCollider.o: ../../OPCODE/OPC_TreeCollider.cpp
616 -@$(CMD_MKOBJDIR)
617 @echo $(notdir $<)
618 @$(CXX) $(CXXFLAGS) -o $@ -c $<
619
620$(OBJDIR)/OPC_VolumeCollider.o: ../../OPCODE/OPC_VolumeCollider.cpp
621 -@$(CMD_MKOBJDIR)
622 @echo $(notdir $<)
623 @$(CXX) $(CXXFLAGS) -o $@ -c $<
624
625$(OBJDIR)/StdAfx.o: ../../OPCODE/StdAfx.cpp
626 -@$(CMD_MKOBJDIR)
627 @echo $(notdir $<)
628 @$(CXX) $(CXXFLAGS) -o $@ -c $<
629
630$(OBJDIR)/IceAABB.o: ../../OPCODE/Ice/IceAABB.cpp
631 -@$(CMD_MKOBJDIR)
632 @echo $(notdir $<)
633 @$(CXX) $(CXXFLAGS) -o $@ -c $<
634
635$(OBJDIR)/IceContainer.o: ../../OPCODE/Ice/IceContainer.cpp
636 -@$(CMD_MKOBJDIR)
637 @echo $(notdir $<)
638 @$(CXX) $(CXXFLAGS) -o $@ -c $<
639
640$(OBJDIR)/IceHPoint.o: ../../OPCODE/Ice/IceHPoint.cpp
641 -@$(CMD_MKOBJDIR)
642 @echo $(notdir $<)
643 @$(CXX) $(CXXFLAGS) -o $@ -c $<
644
645$(OBJDIR)/IceIndexedTriangle.o: ../../OPCODE/Ice/IceIndexedTriangle.cpp
646 -@$(CMD_MKOBJDIR)
647 @echo $(notdir $<)
648 @$(CXX) $(CXXFLAGS) -o $@ -c $<
649
650$(OBJDIR)/IceMatrix3x3.o: ../../OPCODE/Ice/IceMatrix3x3.cpp
651 -@$(CMD_MKOBJDIR)
652 @echo $(notdir $<)
653 @$(CXX) $(CXXFLAGS) -o $@ -c $<
654
655$(OBJDIR)/IceMatrix4x4.o: ../../OPCODE/Ice/IceMatrix4x4.cpp
656 -@$(CMD_MKOBJDIR)
657 @echo $(notdir $<)
658 @$(CXX) $(CXXFLAGS) -o $@ -c $<
659
660$(OBJDIR)/IceOBB.o: ../../OPCODE/Ice/IceOBB.cpp
661 -@$(CMD_MKOBJDIR)
662 @echo $(notdir $<)
663 @$(CXX) $(CXXFLAGS) -o $@ -c $<
664
665$(OBJDIR)/IcePlane.o: ../../OPCODE/Ice/IcePlane.cpp
666 -@$(CMD_MKOBJDIR)
667 @echo $(notdir $<)
668 @$(CXX) $(CXXFLAGS) -o $@ -c $<
669
670$(OBJDIR)/IcePoint.o: ../../OPCODE/Ice/IcePoint.cpp
671 -@$(CMD_MKOBJDIR)
672 @echo $(notdir $<)
673 @$(CXX) $(CXXFLAGS) -o $@ -c $<
674
675$(OBJDIR)/IceRandom.o: ../../OPCODE/Ice/IceRandom.cpp
676 -@$(CMD_MKOBJDIR)
677 @echo $(notdir $<)
678 @$(CXX) $(CXXFLAGS) -o $@ -c $<
679
680$(OBJDIR)/IceRay.o: ../../OPCODE/Ice/IceRay.cpp
681 -@$(CMD_MKOBJDIR)
682 @echo $(notdir $<)
683 @$(CXX) $(CXXFLAGS) -o $@ -c $<
684
685$(OBJDIR)/IceRevisitedRadix.o: ../../OPCODE/Ice/IceRevisitedRadix.cpp
686 -@$(CMD_MKOBJDIR)
687 @echo $(notdir $<)
688 @$(CXX) $(CXXFLAGS) -o $@ -c $<
689
690$(OBJDIR)/IceSegment.o: ../../OPCODE/Ice/IceSegment.cpp
691 -@$(CMD_MKOBJDIR)
692 @echo $(notdir $<)
693 @$(CXX) $(CXXFLAGS) -o $@ -c $<
694
695$(OBJDIR)/IceTriangle.o: ../../OPCODE/Ice/IceTriangle.cpp
696 -@$(CMD_MKOBJDIR)
697 @echo $(notdir $<)
698 @$(CXX) $(CXXFLAGS) -o $@ -c $<
699
700$(OBJDIR)/IceUtils.o: ../../OPCODE/Ice/IceUtils.cpp
701 -@$(CMD_MKOBJDIR)
702 @echo $(notdir $<)
703 @$(CXX) $(CXXFLAGS) -o $@ -c $<
704
705-include $(OBJECTS:%.o=%.d)
706
diff --git a/libraries/ode-0.9\/build/gnu/tests.make b/libraries/ode-0.9\/build/gnu/tests.make
new file mode 100755
index 0000000..869e809
--- /dev/null
+++ b/libraries/ode-0.9\/build/gnu/tests.make
@@ -0,0 +1,166 @@
1# C++ Console Executable Makefile autogenerated by premake
2# Don't edit this file! Instead edit `premake.lua` then rerun `make`
3
4ifndef CONFIG
5 CONFIG=DebugDLL
6endif
7
8ifeq ($(CONFIG),DebugDLL)
9 BINDIR := ../../lib/DebugDLL
10 LIBDIR := ../../lib/DebugDLL
11 OBJDIR := obj/tests/DebugDLL
12 OUTDIR := ../../lib/DebugDLL
13 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -I "../../include" -I "../../tests/CppTestHarness"
14 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
15 CXXFLAGS := $(CFLAGS)
16 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugDLL/ode.dll
17 LDDEPS := ../../lib/DebugDLL/ode.dll
18 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -I "../../include" -I "../../tests/CppTestHarness"
19 TARGET := tests.exe
20 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
21endif
22
23ifeq ($(CONFIG),ReleaseDLL)
24 BINDIR := ../../lib/ReleaseDLL
25 LIBDIR := ../../lib/ReleaseDLL
26 OBJDIR := obj/tests/ReleaseDLL
27 OUTDIR := ../../lib/ReleaseDLL
28 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -I "../../include" -I "../../tests/CppTestHarness"
29 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
30 CXXFLAGS := $(CFLAGS)
31 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseDLL/ode.dll
32 LDDEPS := ../../lib/ReleaseDLL/ode.dll
33 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -I "../../include" -I "../../tests/CppTestHarness"
34 TARGET := tests.exe
35 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
36endif
37
38ifeq ($(CONFIG),DebugLib)
39 BINDIR := ../../lib/DebugLib
40 LIBDIR := ../../lib/DebugLib
41 OBJDIR := obj/tests/DebugLib
42 OUTDIR := ../../lib/DebugLib
43 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -I "../../include" -I "../../tests/CppTestHarness"
44 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
45 CXXFLAGS := $(CFLAGS)
46 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/DebugLib/libode.a
47 LDDEPS := ../../lib/DebugLib/libode.a
48 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -I "../../include" -I "../../tests/CppTestHarness"
49 TARGET := tests.exe
50 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
51endif
52
53ifeq ($(CONFIG),ReleaseLib)
54 BINDIR := ../../lib/ReleaseLib
55 LIBDIR := ../../lib/ReleaseLib
56 OBJDIR := obj/tests/ReleaseLib
57 OUTDIR := ../../lib/ReleaseLib
58 CPPFLAGS := -MMD -D "_CRT_SECURE_NO_DEPRECATE" -I "../../include" -I "../../tests/CppTestHarness"
59 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
60 CXXFLAGS := $(CFLAGS)
61 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) ../../lib/ReleaseLib/libode.a
62 LDDEPS := ../../lib/ReleaseLib/libode.a
63 RESFLAGS := -D "_CRT_SECURE_NO_DEPRECATE" -I "../../include" -I "../../tests/CppTestHarness"
64 TARGET := tests.exe
65 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
66endif
67
68OBJECTS := \
69 $(OBJDIR)/main.o \
70 $(OBJDIR)/box_sphere.o \
71 $(OBJDIR)/HTMLTestReporter.o \
72 $(OBJDIR)/PrintfTestReporter.o \
73 $(OBJDIR)/Test.o \
74 $(OBJDIR)/TestLauncher.o \
75 $(OBJDIR)/TestReporter.o \
76 $(OBJDIR)/TestResults.o \
77 $(OBJDIR)/TestRunner.o \
78
79RESOURCES := \
80
81MKDIR_TYPE := msdos
82CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
83ifeq (,$(CMD))
84 MKDIR_TYPE := posix
85endif
86ifeq (/bin/sh.exe,$(SHELL))
87 MKDIR_TYPE := posix
88endif
89ifeq ($(MKDIR_TYPE),posix)
90 CMD_MKBINDIR := mkdir -p $(BINDIR)
91 CMD_MKLIBDIR := mkdir -p $(LIBDIR)
92 CMD_MKOUTDIR := mkdir -p $(OUTDIR)
93 CMD_MKOBJDIR := mkdir -p $(OBJDIR)
94else
95 CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
96 CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
97 CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
98 CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
99endif
100
101.PHONY: clean
102
103$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
104 @echo Linking tests
105 -@$(CMD_MKBINDIR)
106 -@$(CMD_MKLIBDIR)
107 -@$(CMD_MKOUTDIR)
108 @$(BLDCMD)
109
110clean:
111 @echo Cleaning tests
112ifeq ($(MKDIR_TYPE),posix)
113 -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
114else
115 -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
116 -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
117 -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
118endif
119
120$(OBJDIR)/main.o: ../../tests/main.cpp
121 -@$(CMD_MKOBJDIR)
122 @echo $(notdir $<)
123 @$(CXX) $(CXXFLAGS) -o $@ -c $<
124
125$(OBJDIR)/box_sphere.o: ../../tests/colliders/box_sphere.cpp
126 -@$(CMD_MKOBJDIR)
127 @echo $(notdir $<)
128 @$(CXX) $(CXXFLAGS) -o $@ -c $<
129
130$(OBJDIR)/HTMLTestReporter.o: ../../tests/CppTestHarness/HTMLTestReporter.cpp
131 -@$(CMD_MKOBJDIR)
132 @echo $(notdir $<)
133 @$(CXX) $(CXXFLAGS) -o $@ -c $<
134
135$(OBJDIR)/PrintfTestReporter.o: ../../tests/CppTestHarness/PrintfTestReporter.cpp
136 -@$(CMD_MKOBJDIR)
137 @echo $(notdir $<)
138 @$(CXX) $(CXXFLAGS) -o $@ -c $<
139
140$(OBJDIR)/Test.o: ../../tests/CppTestHarness/Test.cpp
141 -@$(CMD_MKOBJDIR)
142 @echo $(notdir $<)
143 @$(CXX) $(CXXFLAGS) -o $@ -c $<
144
145$(OBJDIR)/TestLauncher.o: ../../tests/CppTestHarness/TestLauncher.cpp
146 -@$(CMD_MKOBJDIR)
147 @echo $(notdir $<)
148 @$(CXX) $(CXXFLAGS) -o $@ -c $<
149
150$(OBJDIR)/TestReporter.o: ../../tests/CppTestHarness/TestReporter.cpp
151 -@$(CMD_MKOBJDIR)
152 @echo $(notdir $<)
153 @$(CXX) $(CXXFLAGS) -o $@ -c $<
154
155$(OBJDIR)/TestResults.o: ../../tests/CppTestHarness/TestResults.cpp
156 -@$(CMD_MKOBJDIR)
157 @echo $(notdir $<)
158 @$(CXX) $(CXXFLAGS) -o $@ -c $<
159
160$(OBJDIR)/TestRunner.o: ../../tests/CppTestHarness/TestRunner.cpp
161 -@$(CMD_MKOBJDIR)
162 @echo $(notdir $<)
163 @$(CXX) $(CXXFLAGS) -o $@ -c $<
164
165-include $(OBJECTS:%.o=%.d)
166