97 |
cycrow |
1 |
# Compiler flags...
|
|
|
2 |
CPP_COMPILER = g++
|
|
|
3 |
C_COMPILER = gcc
|
|
|
4 |
|
|
|
5 |
# Include paths...
|
|
|
6 |
Debug_Include_Path=-I"../../libspk/src"
|
|
|
7 |
Release_Include_Path=-I"C:/Program Files/Microsoft SDKs/Windows/v7.1/Samples/multimedia/directshow/baseclasses" -I"C:/Program Files (x86)/Microsoft DirectX SDK (February 2010)/Include" -I"../../libspk/src"
|
|
|
8 |
x3_Include_Path=-I"c:/Users/Cycrow/Documents/Programming/spk/src"
|
|
|
9 |
|
|
|
10 |
# Library paths...
|
|
|
11 |
Debug_Library_Path=
|
|
|
12 |
Release_Library_Path=
|
|
|
13 |
x3_Library_Path=
|
|
|
14 |
|
|
|
15 |
# Additional libraries...
|
|
|
16 |
Debug_Libraries=-Wl,--start-group -lfmod_vc -ld3d9 -lshlwapi -ld3dx9 -ldinput8 -ldxguid -ldxerr -lwinmm -Wl,--end-group
|
|
|
17 |
Release_Libraries=-Wl,--start-group -lshlwapi -ld3dx9 -ldinput8 -ldxguid -lwinmm -lfmod_vc -Wl,--end-group
|
|
|
18 |
x3_Libraries=-Wl,--start-group -lshlwapi -ld3dx9 -ldinput -ldinput8 -ldxguid -ldxerr9 -lwinmm -lfmodex_vc -lspk -Wl,--end-group
|
|
|
19 |
|
|
|
20 |
# Preprocessor definitions...
|
|
|
21 |
Debug_Preprocessor_Definitions=-D GCC_BUILD -D _DEBUG -D _WINDOWS -D _USRDLL -D DIRECT3DHOOK_EXPORTS -D CY_USESECURE -D _CRT_SECURE_NO_WARNINGS -D _SPKDLL -D _STRINGCLR
|
|
|
22 |
Release_Preprocessor_Definitions=-D GCC_BUILD -D NDEBUG -D _WINDOWS -D _USRDLL -D DIRECT3DHOOK_EXPORTS -D CY_USESECURE -D _CRT_SECURE_NO_WARNINGS -D _SPKDLL -D _STRINGCLR
|
|
|
23 |
x3_Preprocessor_Definitions=-D GCC_BUILD -D _DEBUG -D _WINDOWS -D _USRDLL -D DIRECT3DHOOK_EXPORTS -D CY_USESECURE -D _CRT_SECURE_NO_WARNINGS -D _SPKDLL -D _STRINGCLR
|
|
|
24 |
|
|
|
25 |
# Implictly linked object files...
|
|
|
26 |
Debug_Implicitly_Linked_Objects=
|
|
|
27 |
Release_Implicitly_Linked_Objects=
|
|
|
28 |
x3_Implicitly_Linked_Objects=
|
|
|
29 |
|
|
|
30 |
# Compiler flags...
|
|
|
31 |
Debug_Compiler_Flags=-fPIC -O0 -g
|
|
|
32 |
Release_Compiler_Flags=-fPIC -O3
|
|
|
33 |
x3_Compiler_Flags=-fPIC -O0 -g
|
|
|
34 |
|
|
|
35 |
# Builds all configurations for this project...
|
|
|
36 |
.PHONY: build_all_configurations
|
|
|
37 |
build_all_configurations: Debug Release x3
|
|
|
38 |
|
|
|
39 |
# Builds the Debug configuration...
|
|
|
40 |
.PHONY: Debug
|
|
|
41 |
Debug: create_folders ../../Windows/Debug/gccDirect3D-Hook/../src/stdafx.o ../../Windows/Debug/gccDirect3D-Hook/../src/X3Overlay.o ../../Windows/Debug/gccDirect3D-Hook/../src/Visualisation/TextureFile.o ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/apihijack.o ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/Display.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/DisplayCustom.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderObject.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderSprite.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderText.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderTexture.o
|
|
|
42 |
g++ -fPIC -shared -Wl,-soname,libDirect3D-Hook.so -o ../../Windows/gccDebug/libDirect3D-Hook.so ../../Windows/Debug/gccDirect3D-Hook/../src/stdafx.o ../../Windows/Debug/gccDirect3D-Hook/../src/X3Overlay.o ../../Windows/Debug/gccDirect3D-Hook/../src/Visualisation/TextureFile.o ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/apihijack.o ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/Display.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/DisplayCustom.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderObject.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderSprite.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderText.o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderTexture.o $(Debug_Implicitly_Linked_Objects)
|
|
|
43 |
|
|
|
44 |
# Compiles file ../src/stdafx.cpp for the Debug configuration...
|
|
|
45 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/stdafx.d
|
|
|
46 |
../../Windows/Debug/gccDirect3D-Hook/../src/stdafx.o: ../src/stdafx.cpp
|
|
|
47 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/stdafx.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/stdafx.o
|
|
|
48 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/stdafx.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/stdafx.d
|
|
|
49 |
|
|
|
50 |
# Compiles file ../src/X3Overlay.cpp for the Debug configuration...
|
|
|
51 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/X3Overlay.d
|
|
|
52 |
../../Windows/Debug/gccDirect3D-Hook/../src/X3Overlay.o: ../src/X3Overlay.cpp
|
|
|
53 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/X3Overlay.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/X3Overlay.o
|
|
|
54 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/X3Overlay.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/X3Overlay.d
|
|
|
55 |
|
|
|
56 |
# Compiles file ../src/Visualisation/TextureFile.cpp for the Debug configuration...
|
|
|
57 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Visualisation/TextureFile.d
|
|
|
58 |
../../Windows/Debug/gccDirect3D-Hook/../src/Visualisation/TextureFile.o: ../src/Visualisation/TextureFile.cpp
|
|
|
59 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/Visualisation/TextureFile.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/Visualisation/TextureFile.o
|
|
|
60 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Visualisation/TextureFile.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Visualisation/TextureFile.d
|
|
|
61 |
|
|
|
62 |
# Compiles file ../src/Hook/apihijack.cpp for the Debug configuration...
|
|
|
63 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/apihijack.d
|
|
|
64 |
../../Windows/Debug/gccDirect3D-Hook/../src/Hook/apihijack.o: ../src/Hook/apihijack.cpp
|
|
|
65 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/Hook/apihijack.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/apihijack.o
|
|
|
66 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Hook/apihijack.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/apihijack.d
|
|
|
67 |
|
|
|
68 |
# Compiles file ../src/Hook/Direct3D-Hook.cpp for the Debug configuration...
|
|
|
69 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.d
|
|
|
70 |
../../Windows/Debug/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.o: ../src/Hook/Direct3D-Hook.cpp
|
|
|
71 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/Hook/Direct3D-Hook.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.o
|
|
|
72 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Hook/Direct3D-Hook.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.d
|
|
|
73 |
|
|
|
74 |
# Compiles file ../src/Render/Display.cpp for the Debug configuration...
|
|
|
75 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/Display.d
|
|
|
76 |
../../Windows/Debug/gccDirect3D-Hook/../src/Render/Display.o: ../src/Render/Display.cpp
|
|
|
77 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/Render/Display.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/Display.o
|
|
|
78 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/Display.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/Display.d
|
|
|
79 |
|
|
|
80 |
# Compiles file ../src/Render/DisplayCustom.cpp for the Debug configuration...
|
|
|
81 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/DisplayCustom.d
|
|
|
82 |
../../Windows/Debug/gccDirect3D-Hook/../src/Render/DisplayCustom.o: ../src/Render/DisplayCustom.cpp
|
|
|
83 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/Render/DisplayCustom.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/DisplayCustom.o
|
|
|
84 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/DisplayCustom.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/DisplayCustom.d
|
|
|
85 |
|
|
|
86 |
# Compiles file ../src/Render/RenderObject.cpp for the Debug configuration...
|
|
|
87 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderObject.d
|
|
|
88 |
../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderObject.o: ../src/Render/RenderObject.cpp
|
|
|
89 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/Render/RenderObject.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderObject.o
|
|
|
90 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/RenderObject.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderObject.d
|
|
|
91 |
|
|
|
92 |
# Compiles file ../src/Render/RenderSprite.cpp for the Debug configuration...
|
|
|
93 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderSprite.d
|
|
|
94 |
../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderSprite.o: ../src/Render/RenderSprite.cpp
|
|
|
95 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/Render/RenderSprite.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderSprite.o
|
|
|
96 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/RenderSprite.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderSprite.d
|
|
|
97 |
|
|
|
98 |
# Compiles file ../src/Render/RenderText.cpp for the Debug configuration...
|
|
|
99 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderText.d
|
|
|
100 |
../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderText.o: ../src/Render/RenderText.cpp
|
|
|
101 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/Render/RenderText.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderText.o
|
|
|
102 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/RenderText.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderText.d
|
|
|
103 |
|
|
|
104 |
# Compiles file ../src/Render/RenderTexture.cpp for the Debug configuration...
|
|
|
105 |
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderTexture.d
|
|
|
106 |
../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderTexture.o: ../src/Render/RenderTexture.cpp
|
|
|
107 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/Render/RenderTexture.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderTexture.o
|
|
|
108 |
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/RenderTexture.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderTexture.d
|
|
|
109 |
|
|
|
110 |
# Builds the Release configuration...
|
|
|
111 |
.PHONY: Release
|
|
|
112 |
Release: create_folders ../../Windows/Release/gccDirect3D-Hook/../src/stdafx.o ../../Windows/Release/gccDirect3D-Hook/../src/X3Overlay.o ../../Windows/Release/gccDirect3D-Hook/../src/Visualisation/TextureFile.o ../../Windows/Release/gccDirect3D-Hook/../src/Hook/apihijack.o ../../Windows/Release/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/Display.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/DisplayCustom.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderObject.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderSprite.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderText.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderTexture.o
|
|
|
113 |
g++ -fPIC -shared -Wl,-soname,libDirect3D-Hook.so -o ../../Windows/gccRelease/libDirect3D-Hook.so ../../Windows/Release/gccDirect3D-Hook/../src/stdafx.o ../../Windows/Release/gccDirect3D-Hook/../src/X3Overlay.o ../../Windows/Release/gccDirect3D-Hook/../src/Visualisation/TextureFile.o ../../Windows/Release/gccDirect3D-Hook/../src/Hook/apihijack.o ../../Windows/Release/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/Display.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/DisplayCustom.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderObject.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderSprite.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderText.o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderTexture.o $(Release_Implicitly_Linked_Objects)
|
|
|
114 |
|
|
|
115 |
# Compiles file ../src/stdafx.cpp for the Release configuration...
|
|
|
116 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/stdafx.d
|
|
|
117 |
../../Windows/Release/gccDirect3D-Hook/../src/stdafx.o: ../src/stdafx.cpp
|
|
|
118 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/stdafx.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/stdafx.o
|
|
|
119 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/stdafx.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/stdafx.d
|
|
|
120 |
|
|
|
121 |
# Compiles file ../src/X3Overlay.cpp for the Release configuration...
|
|
|
122 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/X3Overlay.d
|
|
|
123 |
../../Windows/Release/gccDirect3D-Hook/../src/X3Overlay.o: ../src/X3Overlay.cpp
|
|
|
124 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/X3Overlay.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/X3Overlay.o
|
|
|
125 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/X3Overlay.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/X3Overlay.d
|
|
|
126 |
|
|
|
127 |
# Compiles file ../src/Visualisation/TextureFile.cpp for the Release configuration...
|
|
|
128 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/Visualisation/TextureFile.d
|
|
|
129 |
../../Windows/Release/gccDirect3D-Hook/../src/Visualisation/TextureFile.o: ../src/Visualisation/TextureFile.cpp
|
|
|
130 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/Visualisation/TextureFile.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/Visualisation/TextureFile.o
|
|
|
131 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Visualisation/TextureFile.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Visualisation/TextureFile.d
|
|
|
132 |
|
|
|
133 |
# Compiles file ../src/Hook/apihijack.cpp for the Release configuration...
|
|
|
134 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/Hook/apihijack.d
|
|
|
135 |
../../Windows/Release/gccDirect3D-Hook/../src/Hook/apihijack.o: ../src/Hook/apihijack.cpp
|
|
|
136 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/Hook/apihijack.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/Hook/apihijack.o
|
|
|
137 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Hook/apihijack.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Hook/apihijack.d
|
|
|
138 |
|
|
|
139 |
# Compiles file ../src/Hook/Direct3D-Hook.cpp for the Release configuration...
|
|
|
140 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.d
|
|
|
141 |
../../Windows/Release/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.o: ../src/Hook/Direct3D-Hook.cpp
|
|
|
142 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/Hook/Direct3D-Hook.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.o
|
|
|
143 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Hook/Direct3D-Hook.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.d
|
|
|
144 |
|
|
|
145 |
# Compiles file ../src/Render/Display.cpp for the Release configuration...
|
|
|
146 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/Display.d
|
|
|
147 |
../../Windows/Release/gccDirect3D-Hook/../src/Render/Display.o: ../src/Render/Display.cpp
|
|
|
148 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/Render/Display.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/Render/Display.o
|
|
|
149 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/Display.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/Display.d
|
|
|
150 |
|
|
|
151 |
# Compiles file ../src/Render/DisplayCustom.cpp for the Release configuration...
|
|
|
152 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/DisplayCustom.d
|
|
|
153 |
../../Windows/Release/gccDirect3D-Hook/../src/Render/DisplayCustom.o: ../src/Render/DisplayCustom.cpp
|
|
|
154 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/Render/DisplayCustom.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/Render/DisplayCustom.o
|
|
|
155 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/DisplayCustom.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/DisplayCustom.d
|
|
|
156 |
|
|
|
157 |
# Compiles file ../src/Render/RenderObject.cpp for the Release configuration...
|
|
|
158 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderObject.d
|
|
|
159 |
../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderObject.o: ../src/Render/RenderObject.cpp
|
|
|
160 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/Render/RenderObject.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderObject.o
|
|
|
161 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/RenderObject.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderObject.d
|
|
|
162 |
|
|
|
163 |
# Compiles file ../src/Render/RenderSprite.cpp for the Release configuration...
|
|
|
164 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderSprite.d
|
|
|
165 |
../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderSprite.o: ../src/Render/RenderSprite.cpp
|
|
|
166 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/Render/RenderSprite.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderSprite.o
|
|
|
167 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/RenderSprite.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderSprite.d
|
|
|
168 |
|
|
|
169 |
# Compiles file ../src/Render/RenderText.cpp for the Release configuration...
|
|
|
170 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderText.d
|
|
|
171 |
../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderText.o: ../src/Render/RenderText.cpp
|
|
|
172 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/Render/RenderText.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderText.o
|
|
|
173 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/RenderText.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderText.d
|
|
|
174 |
|
|
|
175 |
# Compiles file ../src/Render/RenderTexture.cpp for the Release configuration...
|
|
|
176 |
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderTexture.d
|
|
|
177 |
../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderTexture.o: ../src/Render/RenderTexture.cpp
|
|
|
178 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/Render/RenderTexture.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderTexture.o
|
|
|
179 |
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/RenderTexture.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderTexture.d
|
|
|
180 |
|
|
|
181 |
# Builds the x3 configuration...
|
|
|
182 |
.PHONY: x3
|
|
|
183 |
x3: create_folders gccx3/../src/stdafx.o gccx3/../src/X3Overlay.o gccx3/../src/Visualisation/TextureFile.o gccx3/../src/Hook/apihijack.o gccx3/../src/Hook/Direct3D-Hook.o gccx3/../src/Render/Display.o gccx3/../src/Render/DisplayCustom.o gccx3/../src/Render/RenderObject.o gccx3/../src/Render/RenderSprite.o gccx3/../src/Render/RenderText.o gccx3/../src/Render/RenderTexture.o
|
|
|
184 |
g++ -fPIC -shared -Wl,-soname,libDirect3D-Hook.so -o ../../Windows/gccx3/libDirect3D-Hook.so gccx3/../src/stdafx.o gccx3/../src/X3Overlay.o gccx3/../src/Visualisation/TextureFile.o gccx3/../src/Hook/apihijack.o gccx3/../src/Hook/Direct3D-Hook.o gccx3/../src/Render/Display.o gccx3/../src/Render/DisplayCustom.o gccx3/../src/Render/RenderObject.o gccx3/../src/Render/RenderSprite.o gccx3/../src/Render/RenderText.o gccx3/../src/Render/RenderTexture.o $(x3_Implicitly_Linked_Objects)
|
|
|
185 |
|
|
|
186 |
# Compiles file ../src/stdafx.cpp for the x3 configuration...
|
|
|
187 |
-include gccx3/../src/stdafx.d
|
|
|
188 |
gccx3/../src/stdafx.o: ../src/stdafx.cpp
|
|
|
189 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/stdafx.cpp $(x3_Include_Path) -o gccx3/../src/stdafx.o
|
|
|
190 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/stdafx.cpp $(x3_Include_Path) > gccx3/../src/stdafx.d
|
|
|
191 |
|
|
|
192 |
# Compiles file ../src/X3Overlay.cpp for the x3 configuration...
|
|
|
193 |
-include gccx3/../src/X3Overlay.d
|
|
|
194 |
gccx3/../src/X3Overlay.o: ../src/X3Overlay.cpp
|
|
|
195 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/X3Overlay.cpp $(x3_Include_Path) -o gccx3/../src/X3Overlay.o
|
|
|
196 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/X3Overlay.cpp $(x3_Include_Path) > gccx3/../src/X3Overlay.d
|
|
|
197 |
|
|
|
198 |
# Compiles file ../src/Visualisation/TextureFile.cpp for the x3 configuration...
|
|
|
199 |
-include gccx3/../src/Visualisation/TextureFile.d
|
|
|
200 |
gccx3/../src/Visualisation/TextureFile.o: ../src/Visualisation/TextureFile.cpp
|
|
|
201 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Visualisation/TextureFile.cpp $(x3_Include_Path) -o gccx3/../src/Visualisation/TextureFile.o
|
|
|
202 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Visualisation/TextureFile.cpp $(x3_Include_Path) > gccx3/../src/Visualisation/TextureFile.d
|
|
|
203 |
|
|
|
204 |
# Compiles file ../src/Hook/apihijack.cpp for the x3 configuration...
|
|
|
205 |
-include gccx3/../src/Hook/apihijack.d
|
|
|
206 |
gccx3/../src/Hook/apihijack.o: ../src/Hook/apihijack.cpp
|
|
|
207 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Hook/apihijack.cpp $(x3_Include_Path) -o gccx3/../src/Hook/apihijack.o
|
|
|
208 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Hook/apihijack.cpp $(x3_Include_Path) > gccx3/../src/Hook/apihijack.d
|
|
|
209 |
|
|
|
210 |
# Compiles file ../src/Hook/Direct3D-Hook.cpp for the x3 configuration...
|
|
|
211 |
-include gccx3/../src/Hook/Direct3D-Hook.d
|
|
|
212 |
gccx3/../src/Hook/Direct3D-Hook.o: ../src/Hook/Direct3D-Hook.cpp
|
|
|
213 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Hook/Direct3D-Hook.cpp $(x3_Include_Path) -o gccx3/../src/Hook/Direct3D-Hook.o
|
|
|
214 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Hook/Direct3D-Hook.cpp $(x3_Include_Path) > gccx3/../src/Hook/Direct3D-Hook.d
|
|
|
215 |
|
|
|
216 |
# Compiles file ../src/Render/Display.cpp for the x3 configuration...
|
|
|
217 |
-include gccx3/../src/Render/Display.d
|
|
|
218 |
gccx3/../src/Render/Display.o: ../src/Render/Display.cpp
|
|
|
219 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/Display.cpp $(x3_Include_Path) -o gccx3/../src/Render/Display.o
|
|
|
220 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/Display.cpp $(x3_Include_Path) > gccx3/../src/Render/Display.d
|
|
|
221 |
|
|
|
222 |
# Compiles file ../src/Render/DisplayCustom.cpp for the x3 configuration...
|
|
|
223 |
-include gccx3/../src/Render/DisplayCustom.d
|
|
|
224 |
gccx3/../src/Render/DisplayCustom.o: ../src/Render/DisplayCustom.cpp
|
|
|
225 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/DisplayCustom.cpp $(x3_Include_Path) -o gccx3/../src/Render/DisplayCustom.o
|
|
|
226 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/DisplayCustom.cpp $(x3_Include_Path) > gccx3/../src/Render/DisplayCustom.d
|
|
|
227 |
|
|
|
228 |
# Compiles file ../src/Render/RenderObject.cpp for the x3 configuration...
|
|
|
229 |
-include gccx3/../src/Render/RenderObject.d
|
|
|
230 |
gccx3/../src/Render/RenderObject.o: ../src/Render/RenderObject.cpp
|
|
|
231 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/RenderObject.cpp $(x3_Include_Path) -o gccx3/../src/Render/RenderObject.o
|
|
|
232 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/RenderObject.cpp $(x3_Include_Path) > gccx3/../src/Render/RenderObject.d
|
|
|
233 |
|
|
|
234 |
# Compiles file ../src/Render/RenderSprite.cpp for the x3 configuration...
|
|
|
235 |
-include gccx3/../src/Render/RenderSprite.d
|
|
|
236 |
gccx3/../src/Render/RenderSprite.o: ../src/Render/RenderSprite.cpp
|
|
|
237 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/RenderSprite.cpp $(x3_Include_Path) -o gccx3/../src/Render/RenderSprite.o
|
|
|
238 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/RenderSprite.cpp $(x3_Include_Path) > gccx3/../src/Render/RenderSprite.d
|
|
|
239 |
|
|
|
240 |
# Compiles file ../src/Render/RenderText.cpp for the x3 configuration...
|
|
|
241 |
-include gccx3/../src/Render/RenderText.d
|
|
|
242 |
gccx3/../src/Render/RenderText.o: ../src/Render/RenderText.cpp
|
|
|
243 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/RenderText.cpp $(x3_Include_Path) -o gccx3/../src/Render/RenderText.o
|
|
|
244 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/RenderText.cpp $(x3_Include_Path) > gccx3/../src/Render/RenderText.d
|
|
|
245 |
|
|
|
246 |
# Compiles file ../src/Render/RenderTexture.cpp for the x3 configuration...
|
|
|
247 |
-include gccx3/../src/Render/RenderTexture.d
|
|
|
248 |
gccx3/../src/Render/RenderTexture.o: ../src/Render/RenderTexture.cpp
|
|
|
249 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/RenderTexture.cpp $(x3_Include_Path) -o gccx3/../src/Render/RenderTexture.o
|
|
|
250 |
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/RenderTexture.cpp $(x3_Include_Path) > gccx3/../src/Render/RenderTexture.d
|
|
|
251 |
|
|
|
252 |
# Creates the intermediate and output folders for each configuration...
|
|
|
253 |
.PHONY: create_folders
|
|
|
254 |
create_folders:
|
|
|
255 |
mkdir -p ../../Windows/Debug/gccDirect3D-Hook/source
|
|
|
256 |
mkdir -p ../../Windows/gccDebug
|
|
|
257 |
mkdir -p ../../Windows/Release/gccDirect3D-Hook/source
|
|
|
258 |
mkdir -p ../../Windows/gccRelease
|
|
|
259 |
mkdir -p gccx3/source
|
|
|
260 |
mkdir -p ../../Windows/gccx3
|
|
|
261 |
|
|
|
262 |
# Cleans intermediate and output files (objects, libraries, executables)...
|
|
|
263 |
.PHONY: clean
|
|
|
264 |
clean:
|
|
|
265 |
rm -f ../../Windows/Debug/gccDirect3D-Hook/*.o
|
|
|
266 |
rm -f ../../Windows/Debug/gccDirect3D-Hook/*.d
|
|
|
267 |
rm -f ../../Windows/gccDebug/*.a
|
|
|
268 |
rm -f ../../Windows/gccDebug/*.so
|
|
|
269 |
rm -f ../../Windows/gccDebug/*.dll
|
|
|
270 |
rm -f ../../Windows/gccDebug/*.exe
|
|
|
271 |
rm -f ../../Windows/Release/gccDirect3D-Hook/*.o
|
|
|
272 |
rm -f ../../Windows/Release/gccDirect3D-Hook/*.d
|
|
|
273 |
rm -f ../../Windows/gccRelease/*.a
|
|
|
274 |
rm -f ../../Windows/gccRelease/*.so
|
|
|
275 |
rm -f ../../Windows/gccRelease/*.dll
|
|
|
276 |
rm -f ../../Windows/gccRelease/*.exe
|
|
|
277 |
rm -f gccx3/*.o
|
|
|
278 |
rm -f gccx3/*.d
|
|
|
279 |
rm -f ../../Windows/gccx3/*.a
|
|
|
280 |
rm -f ../../Windows/gccx3/*.so
|
|
|
281 |
rm -f ../../Windows/gccx3/*.dll
|
|
|
282 |
rm -f ../../Windows/gccx3/*.exe
|
|
|
283 |
|