diff options
author | dan miller | 2007-10-19 05:20:07 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 05:20:07 +0000 |
commit | fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd (patch) | |
tree | 51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9/build/gnu/demo_slider.make | |
parent | resubmitting ode (diff) | |
download | opensim-SC_OLD-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.zip opensim-SC_OLD-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.gz opensim-SC_OLD-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.bz2 opensim-SC_OLD-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.xz |
dont ask
Diffstat (limited to 'libraries/ode-0.9/build/gnu/demo_slider.make')
-rw-r--r-- | libraries/ode-0.9/build/gnu/demo_slider.make | 124 |
1 files changed, 0 insertions, 124 deletions
diff --git a/libraries/ode-0.9/build/gnu/demo_slider.make b/libraries/ode-0.9/build/gnu/demo_slider.make deleted file mode 100644 index ed3dc42..0000000 --- a/libraries/ode-0.9/build/gnu/demo_slider.make +++ /dev/null | |||
@@ -1,124 +0,0 @@ | |||
1 | # C++ Console Executable Makefile autogenerated by premake | ||
2 | # Don't edit this file! Instead edit `premake.lua` then rerun `make` | ||
3 | |||
4 | ifndef CONFIG | ||
5 | CONFIG=DebugDLL | ||
6 | endif | ||
7 | |||
8 | ifeq ($(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) | ||
21 | endif | ||
22 | |||
23 | ifeq ($(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) | ||
36 | endif | ||
37 | |||
38 | ifeq ($(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) | ||
51 | endif | ||
52 | |||
53 | ifeq ($(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) | ||
66 | endif | ||
67 | |||
68 | OBJECTS := \ | ||
69 | $(OBJDIR)/demo_slider.o \ | ||
70 | |||
71 | RESOURCES := \ | ||
72 | $(OBJDIR)/resources.res \ | ||
73 | |||
74 | MKDIR_TYPE := msdos | ||
75 | CMD := $(subst \,\\,$(ComSpec)$(COMSPEC)) | ||
76 | ifeq (,$(CMD)) | ||
77 | MKDIR_TYPE := posix | ||
78 | endif | ||
79 | ifeq (/bin/sh.exe,$(SHELL)) | ||
80 | MKDIR_TYPE := posix | ||
81 | endif | ||
82 | ifeq ($(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) | ||
87 | else | ||
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)) | ||
92 | endif | ||
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 | |||
103 | clean: | ||
104 | @echo Cleaning demo_slider | ||
105 | ifeq ($(MKDIR_TYPE),posix) | ||
106 | -@rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR) | ||
107 | else | ||
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)) | ||
111 | endif | ||
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 | |||