From 8547fab190830f5d53138b1db378145592dd1354 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Tue, 11 Sep 2012 21:51:57 +0200 Subject: [PATCH] define NDEBUG for Release build config --- Release/src/app/subdir.mk | 2 +- Release/src/battle/states/subdir.mk | 2 +- Release/src/battle/subdir.mk | 2 +- Release/src/common/subdir.mk | 2 +- Release/src/graphics/subdir.mk | 2 +- Release/src/loader/subdir.mk | 2 +- Release/src/sdl/subdir.mk | 2 +- Release/src/subdir.mk | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Release/src/app/subdir.mk b/Release/src/app/subdir.mk index 764eb6f..3255ffa 100644 --- a/Release/src/app/subdir.mk +++ b/Release/src/app/subdir.mk @@ -20,7 +20,7 @@ CPP_DEPS += \ src/app/%.o: ../src/app/%.cpp @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' - g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + g++ -DNDEBUG -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/src/battle/states/subdir.mk b/Release/src/battle/states/subdir.mk index dab568f..e526ca7 100644 --- a/Release/src/battle/states/subdir.mk +++ b/Release/src/battle/states/subdir.mk @@ -41,7 +41,7 @@ CPP_DEPS += \ src/battle/states/%.o: ../src/battle/states/%.cpp @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' - g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + g++ -DNDEBUG -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/src/battle/subdir.mk b/Release/src/battle/subdir.mk index ba4653e..68f2a2c 100644 --- a/Release/src/battle/subdir.mk +++ b/Release/src/battle/subdir.mk @@ -53,7 +53,7 @@ CPP_DEPS += \ src/battle/%.o: ../src/battle/%.cpp @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' - g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + g++ -DNDEBUG -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/src/common/subdir.mk b/Release/src/common/subdir.mk index d86dbcd..1146aab 100644 --- a/Release/src/common/subdir.mk +++ b/Release/src/common/subdir.mk @@ -29,7 +29,7 @@ CPP_DEPS += \ src/common/%.o: ../src/common/%.cpp @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' - g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + g++ -DNDEBUG -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/src/graphics/subdir.mk b/Release/src/graphics/subdir.mk index 1b53d99..9e05a70 100644 --- a/Release/src/graphics/subdir.mk +++ b/Release/src/graphics/subdir.mk @@ -38,7 +38,7 @@ CPP_DEPS += \ src/graphics/%.o: ../src/graphics/%.cpp @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' - g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + g++ -DNDEBUG -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/src/loader/subdir.mk b/Release/src/loader/subdir.mk index 8b5366f..992a06c 100644 --- a/Release/src/loader/subdir.mk +++ b/Release/src/loader/subdir.mk @@ -32,7 +32,7 @@ CPP_DEPS += \ src/loader/%.o: ../src/loader/%.cpp @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' - g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + g++ -DNDEBUG -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/src/sdl/subdir.mk b/Release/src/sdl/subdir.mk index ec2df9c..c3a1775 100644 --- a/Release/src/sdl/subdir.mk +++ b/Release/src/sdl/subdir.mk @@ -23,7 +23,7 @@ CPP_DEPS += \ src/sdl/%.o: ../src/sdl/%.cpp @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' - g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + g++ -DNDEBUG -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/src/subdir.mk b/Release/src/subdir.mk index 30ec7e9..9aa8e01 100644 --- a/Release/src/subdir.mk +++ b/Release/src/subdir.mk @@ -17,7 +17,7 @@ CPP_DEPS += \ src/%.o: ../src/%.cpp @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' - g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + g++ -DNDEBUG -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' -- 2.39.2