]> git.localhorst.tv Git - l2e.git/blobdiff - Release/src/graphics/subdir.mk
define NDEBUG for Release build config
[l2e.git] / Release / src / graphics / subdir.mk
index 1b53d998e1bed13a37f298a1ca0f4d5ff4ed421c..9e05a70ba1fc3e589b80d3d086a5fd2a62614247 100644 (file)
@@ -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 ' '