]> git.localhorst.tv Git - l2e.git/blobdiff - Release/src/app/subdir.mk
define NDEBUG for Release build config
[l2e.git] / Release / src / app / subdir.mk
index 764eb6fe55121e3bdc5cee8149fb28321d42010c..3255ffa8f698ddf8e8e278ef4d1868e075540d94 100644 (file)
@@ -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 ' '