Blame | Last modification | View Log | RSS feed
# Compiler flags...
CPP_COMPILER = g++
C_COMPILER = gcc
# Include paths...
Debug_Include_Path=-I"../../libspk/src"
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"
x3_Include_Path=-I"c:/Users/Cycrow/Documents/Programming/spk/src"
# Library paths...
Debug_Library_Path=
Release_Library_Path=
x3_Library_Path=
# Additional libraries...
Debug_Libraries=-Wl,--start-group -lfmod_vc -ld3d9 -lshlwapi -ld3dx9 -ldinput8 -ldxguid -ldxerr -lwinmm -Wl,--end-group
Release_Libraries=-Wl,--start-group -lshlwapi -ld3dx9 -ldinput8 -ldxguid -lwinmm -lfmod_vc -Wl,--end-group
x3_Libraries=-Wl,--start-group -lshlwapi -ld3dx9 -ldinput -ldinput8 -ldxguid -ldxerr9 -lwinmm -lfmodex_vc -lspk -Wl,--end-group
# Preprocessor definitions...
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
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
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
# Implictly linked object files...
Debug_Implicitly_Linked_Objects=
Release_Implicitly_Linked_Objects=
x3_Implicitly_Linked_Objects=
# Compiler flags...
Debug_Compiler_Flags=-fPIC -O0 -g
Release_Compiler_Flags=-fPIC -O3
x3_Compiler_Flags=-fPIC -O0 -g
# Builds all configurations for this project...
.PHONY: build_all_configurations
build_all_configurations: Debug Release x3
# Builds the Debug configuration...
.PHONY: Debug
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
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)
# Compiles file ../src/stdafx.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/stdafx.d
../../Windows/Debug/gccDirect3D-Hook/../src/stdafx.o: ../src/stdafx.cpp
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/stdafx.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/stdafx.o
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/stdafx.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/stdafx.d
# Compiles file ../src/X3Overlay.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/X3Overlay.d
../../Windows/Debug/gccDirect3D-Hook/../src/X3Overlay.o: ../src/X3Overlay.cpp
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/X3Overlay.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccDirect3D-Hook/../src/X3Overlay.o
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/X3Overlay.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/X3Overlay.d
# Compiles file ../src/Visualisation/TextureFile.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Visualisation/TextureFile.d
../../Windows/Debug/gccDirect3D-Hook/../src/Visualisation/TextureFile.o: ../src/Visualisation/TextureFile.cpp
$(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
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Visualisation/TextureFile.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Visualisation/TextureFile.d
# Compiles file ../src/Hook/apihijack.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/apihijack.d
../../Windows/Debug/gccDirect3D-Hook/../src/Hook/apihijack.o: ../src/Hook/apihijack.cpp
$(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
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Hook/apihijack.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/apihijack.d
# Compiles file ../src/Hook/Direct3D-Hook.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.d
../../Windows/Debug/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.o: ../src/Hook/Direct3D-Hook.cpp
$(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
$(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
# Compiles file ../src/Render/Display.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/Display.d
../../Windows/Debug/gccDirect3D-Hook/../src/Render/Display.o: ../src/Render/Display.cpp
$(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
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/Display.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/Display.d
# Compiles file ../src/Render/DisplayCustom.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/DisplayCustom.d
../../Windows/Debug/gccDirect3D-Hook/../src/Render/DisplayCustom.o: ../src/Render/DisplayCustom.cpp
$(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
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/DisplayCustom.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/DisplayCustom.d
# Compiles file ../src/Render/RenderObject.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderObject.d
../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderObject.o: ../src/Render/RenderObject.cpp
$(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
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/RenderObject.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderObject.d
# Compiles file ../src/Render/RenderSprite.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderSprite.d
../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderSprite.o: ../src/Render/RenderSprite.cpp
$(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
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/RenderSprite.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderSprite.d
# Compiles file ../src/Render/RenderText.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderText.d
../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderText.o: ../src/Render/RenderText.cpp
$(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
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/RenderText.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderText.d
# Compiles file ../src/Render/RenderTexture.cpp for the Debug configuration...
-include ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderTexture.d
../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderTexture.o: ../src/Render/RenderTexture.cpp
$(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
$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/Render/RenderTexture.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccDirect3D-Hook/../src/Render/RenderTexture.d
# Builds the Release configuration...
.PHONY: Release
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
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)
# Compiles file ../src/stdafx.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/stdafx.d
../../Windows/Release/gccDirect3D-Hook/../src/stdafx.o: ../src/stdafx.cpp
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/stdafx.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/stdafx.o
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/stdafx.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/stdafx.d
# Compiles file ../src/X3Overlay.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/X3Overlay.d
../../Windows/Release/gccDirect3D-Hook/../src/X3Overlay.o: ../src/X3Overlay.cpp
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/X3Overlay.cpp $(Release_Include_Path) -o ../../Windows/Release/gccDirect3D-Hook/../src/X3Overlay.o
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/X3Overlay.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/X3Overlay.d
# Compiles file ../src/Visualisation/TextureFile.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/Visualisation/TextureFile.d
../../Windows/Release/gccDirect3D-Hook/../src/Visualisation/TextureFile.o: ../src/Visualisation/TextureFile.cpp
$(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
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Visualisation/TextureFile.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Visualisation/TextureFile.d
# Compiles file ../src/Hook/apihijack.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/Hook/apihijack.d
../../Windows/Release/gccDirect3D-Hook/../src/Hook/apihijack.o: ../src/Hook/apihijack.cpp
$(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
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Hook/apihijack.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Hook/apihijack.d
# Compiles file ../src/Hook/Direct3D-Hook.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.d
../../Windows/Release/gccDirect3D-Hook/../src/Hook/Direct3D-Hook.o: ../src/Hook/Direct3D-Hook.cpp
$(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
$(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
# Compiles file ../src/Render/Display.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/Display.d
../../Windows/Release/gccDirect3D-Hook/../src/Render/Display.o: ../src/Render/Display.cpp
$(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
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/Display.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/Display.d
# Compiles file ../src/Render/DisplayCustom.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/DisplayCustom.d
../../Windows/Release/gccDirect3D-Hook/../src/Render/DisplayCustom.o: ../src/Render/DisplayCustom.cpp
$(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
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/DisplayCustom.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/DisplayCustom.d
# Compiles file ../src/Render/RenderObject.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderObject.d
../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderObject.o: ../src/Render/RenderObject.cpp
$(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
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/RenderObject.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderObject.d
# Compiles file ../src/Render/RenderSprite.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderSprite.d
../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderSprite.o: ../src/Render/RenderSprite.cpp
$(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
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/RenderSprite.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderSprite.d
# Compiles file ../src/Render/RenderText.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderText.d
../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderText.o: ../src/Render/RenderText.cpp
$(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
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/RenderText.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderText.d
# Compiles file ../src/Render/RenderTexture.cpp for the Release configuration...
-include ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderTexture.d
../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderTexture.o: ../src/Render/RenderTexture.cpp
$(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
$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/Render/RenderTexture.cpp $(Release_Include_Path) > ../../Windows/Release/gccDirect3D-Hook/../src/Render/RenderTexture.d
# Builds the x3 configuration...
.PHONY: x3
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
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)
# Compiles file ../src/stdafx.cpp for the x3 configuration...
-include gccx3/../src/stdafx.d
gccx3/../src/stdafx.o: ../src/stdafx.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/stdafx.cpp $(x3_Include_Path) -o gccx3/../src/stdafx.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/stdafx.cpp $(x3_Include_Path) > gccx3/../src/stdafx.d
# Compiles file ../src/X3Overlay.cpp for the x3 configuration...
-include gccx3/../src/X3Overlay.d
gccx3/../src/X3Overlay.o: ../src/X3Overlay.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/X3Overlay.cpp $(x3_Include_Path) -o gccx3/../src/X3Overlay.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/X3Overlay.cpp $(x3_Include_Path) > gccx3/../src/X3Overlay.d
# Compiles file ../src/Visualisation/TextureFile.cpp for the x3 configuration...
-include gccx3/../src/Visualisation/TextureFile.d
gccx3/../src/Visualisation/TextureFile.o: ../src/Visualisation/TextureFile.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Visualisation/TextureFile.cpp $(x3_Include_Path) -o gccx3/../src/Visualisation/TextureFile.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Visualisation/TextureFile.cpp $(x3_Include_Path) > gccx3/../src/Visualisation/TextureFile.d
# Compiles file ../src/Hook/apihijack.cpp for the x3 configuration...
-include gccx3/../src/Hook/apihijack.d
gccx3/../src/Hook/apihijack.o: ../src/Hook/apihijack.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Hook/apihijack.cpp $(x3_Include_Path) -o gccx3/../src/Hook/apihijack.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Hook/apihijack.cpp $(x3_Include_Path) > gccx3/../src/Hook/apihijack.d
# Compiles file ../src/Hook/Direct3D-Hook.cpp for the x3 configuration...
-include gccx3/../src/Hook/Direct3D-Hook.d
gccx3/../src/Hook/Direct3D-Hook.o: ../src/Hook/Direct3D-Hook.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Hook/Direct3D-Hook.cpp $(x3_Include_Path) -o gccx3/../src/Hook/Direct3D-Hook.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Hook/Direct3D-Hook.cpp $(x3_Include_Path) > gccx3/../src/Hook/Direct3D-Hook.d
# Compiles file ../src/Render/Display.cpp for the x3 configuration...
-include gccx3/../src/Render/Display.d
gccx3/../src/Render/Display.o: ../src/Render/Display.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/Display.cpp $(x3_Include_Path) -o gccx3/../src/Render/Display.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/Display.cpp $(x3_Include_Path) > gccx3/../src/Render/Display.d
# Compiles file ../src/Render/DisplayCustom.cpp for the x3 configuration...
-include gccx3/../src/Render/DisplayCustom.d
gccx3/../src/Render/DisplayCustom.o: ../src/Render/DisplayCustom.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/DisplayCustom.cpp $(x3_Include_Path) -o gccx3/../src/Render/DisplayCustom.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/DisplayCustom.cpp $(x3_Include_Path) > gccx3/../src/Render/DisplayCustom.d
# Compiles file ../src/Render/RenderObject.cpp for the x3 configuration...
-include gccx3/../src/Render/RenderObject.d
gccx3/../src/Render/RenderObject.o: ../src/Render/RenderObject.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/RenderObject.cpp $(x3_Include_Path) -o gccx3/../src/Render/RenderObject.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/RenderObject.cpp $(x3_Include_Path) > gccx3/../src/Render/RenderObject.d
# Compiles file ../src/Render/RenderSprite.cpp for the x3 configuration...
-include gccx3/../src/Render/RenderSprite.d
gccx3/../src/Render/RenderSprite.o: ../src/Render/RenderSprite.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/RenderSprite.cpp $(x3_Include_Path) -o gccx3/../src/Render/RenderSprite.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/RenderSprite.cpp $(x3_Include_Path) > gccx3/../src/Render/RenderSprite.d
# Compiles file ../src/Render/RenderText.cpp for the x3 configuration...
-include gccx3/../src/Render/RenderText.d
gccx3/../src/Render/RenderText.o: ../src/Render/RenderText.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/RenderText.cpp $(x3_Include_Path) -o gccx3/../src/Render/RenderText.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/RenderText.cpp $(x3_Include_Path) > gccx3/../src/Render/RenderText.d
# Compiles file ../src/Render/RenderTexture.cpp for the x3 configuration...
-include gccx3/../src/Render/RenderTexture.d
gccx3/../src/Render/RenderTexture.o: ../src/Render/RenderTexture.cpp
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -c ../src/Render/RenderTexture.cpp $(x3_Include_Path) -o gccx3/../src/Render/RenderTexture.o
$(CPP_COMPILER) $(x3_Preprocessor_Definitions) $(x3_Compiler_Flags) -MM ../src/Render/RenderTexture.cpp $(x3_Include_Path) > gccx3/../src/Render/RenderTexture.d
# Creates the intermediate and output folders for each configuration...
.PHONY: create_folders
create_folders:
mkdir -p ../../Windows/Debug/gccDirect3D-Hook/source
mkdir -p ../../Windows/gccDebug
mkdir -p ../../Windows/Release/gccDirect3D-Hook/source
mkdir -p ../../Windows/gccRelease
mkdir -p gccx3/source
mkdir -p ../../Windows/gccx3
# Cleans intermediate and output files (objects, libraries, executables)...
.PHONY: clean
clean:
rm -f ../../Windows/Debug/gccDirect3D-Hook/*.o
rm -f ../../Windows/Debug/gccDirect3D-Hook/*.d
rm -f ../../Windows/gccDebug/*.a
rm -f ../../Windows/gccDebug/*.so
rm -f ../../Windows/gccDebug/*.dll
rm -f ../../Windows/gccDebug/*.exe
rm -f ../../Windows/Release/gccDirect3D-Hook/*.o
rm -f ../../Windows/Release/gccDirect3D-Hook/*.d
rm -f ../../Windows/gccRelease/*.a
rm -f ../../Windows/gccRelease/*.so
rm -f ../../Windows/gccRelease/*.dll
rm -f ../../Windows/gccRelease/*.exe
rm -f gccx3/*.o
rm -f gccx3/*.d
rm -f ../../Windows/gccx3/*.a
rm -f ../../Windows/gccx3/*.so
rm -f ../../Windows/gccx3/*.dll
rm -f ../../Windows/gccx3/*.exe