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"../../libspk/src"# Library paths...Debug_Library_Path=Release_Library_Path=# Additional libraries...Debug_Libraries=-Wl,--start-group -lshell32 -l$(NOINHERIT) -Wl,--end-groupRelease_Libraries=-Wl,--start-group -lshell32 -l$(NOINHERIT) -Wl,--end-group# Preprocessor definitions...Debug_Preprocessor_Definitions=-D GCC_BUILD -D _DEBUG -D _CONSOLE -D _CRT_SECURE_NO_WARNINGSRelease_Preprocessor_Definitions=-D GCC_BUILD -D NDEBUG -D _CONSOLE -D _CRT_SECURE_NO_WARNINGS# Implictly linked object files...Debug_Implicitly_Linked_Objects=Release_Implicitly_Linked_Objects=# Compiler flags...Debug_Compiler_Flags=-O0 -gRelease_Compiler_Flags=# Builds all configurations for this project....PHONY: build_all_configurationsbuild_all_configurations: Debug Release# Builds the Debug configuration....PHONY: DebugDebug: create_folders ../../Windows/Debug/gccspktool/../src/spktool.og++ ../../Windows/Debug/gccspktool/../src/spktool.o $(Debug_Library_Path) $(Debug_Libraries) -Wl,-rpath,./ -o ../../Windows/gccDebug/spktool.exe# Compiles file ../src/spktool.cpp for the Debug configuration...-include ../../Windows/Debug/gccspktool/../src/spktool.d../../Windows/Debug/gccspktool/../src/spktool.o: ../src/spktool.cpp$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -c ../src/spktool.cpp $(Debug_Include_Path) -o ../../Windows/Debug/gccspktool/../src/spktool.o$(CPP_COMPILER) $(Debug_Preprocessor_Definitions) $(Debug_Compiler_Flags) -MM ../src/spktool.cpp $(Debug_Include_Path) > ../../Windows/Debug/gccspktool/../src/spktool.d# Builds the Release configuration....PHONY: ReleaseRelease: create_folders ../../Windows/Release/gccspktool/../src/spktool.og++ ../../Windows/Release/gccspktool/../src/spktool.o $(Release_Library_Path) $(Release_Libraries) -Wl,-rpath,./ -o ../../Windows/gccRelease/spktool.exe# Compiles file ../src/spktool.cpp for the Release configuration...-include ../../Windows/Release/gccspktool/../src/spktool.d../../Windows/Release/gccspktool/../src/spktool.o: ../src/spktool.cpp$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -c ../src/spktool.cpp $(Release_Include_Path) -o ../../Windows/Release/gccspktool/../src/spktool.o$(CPP_COMPILER) $(Release_Preprocessor_Definitions) $(Release_Compiler_Flags) -MM ../src/spktool.cpp $(Release_Include_Path) > ../../Windows/Release/gccspktool/../src/spktool.d# Creates the intermediate and output folders for each configuration....PHONY: create_folderscreate_folders:mkdir -p ../../Windows/Debug/gccspktool/sourcemkdir -p ../../Windows/gccDebugmkdir -p ../../Windows/Release/gccspktool/sourcemkdir -p ../../Windows/gccRelease# Cleans intermediate and output files (objects, libraries, executables)....PHONY: cleanclean:rm -f ../../Windows/Debug/gccspktool/*.orm -f ../../Windows/Debug/gccspktool/*.drm -f ../../Windows/gccDebug/*.arm -f ../../Windows/gccDebug/*.sorm -f ../../Windows/gccDebug/*.dllrm -f ../../Windows/gccDebug/*.exerm -f ../../Windows/Release/gccspktool/*.orm -f ../../Windows/Release/gccspktool/*.drm -f ../../Windows/gccRelease/*.arm -f ../../Windows/gccRelease/*.sorm -f ../../Windows/gccRelease/*.dllrm -f ../../Windows/gccRelease/*.exe