]> git.localhorst.tv Git - l2e.git/blobdiff - Release/src/loader/subdir.mk
define NDEBUG for Release build config
[l2e.git] / Release / src / loader / subdir.mk
index 8b5366f185d926fca52c0a70b56fa4d94d90630f..992a06cc308504f8608e0435b2024f9f9e02ba53 100644 (file)
@@ -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 ' '