]> git.localhorst.tv Git - l2e.git/commitdiff
set -Werror compiler flag for loader subdir
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 3 Sep 2012 20:12:51 +0000 (22:12 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 3 Sep 2012 20:12:51 +0000 (22:12 +0200)
Debug/src/loader/subdir.mk
Release/src/loader/subdir.mk

index 19b1d87a49b12c62dfe96ff1eea278f217d92779..bebb9ab15b132e6eb03c29adcba6779cefe77115 100644 (file)
@@ -29,7 +29,7 @@ CPP_DEPS += \
 src/loader/%.o: ../src/loader/%.cpp
        @echo 'Building file: $<'
        @echo 'Invoking: GCC C++ Compiler'
-       g++ -I/usr/include/SDL -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
+       g++ -I/usr/include/SDL -O0 -g3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
index c619e855b19587413a23bb9a7f88013a306862b5..d4a66859affc29ba4bd24d396cc1e0f441637c6c 100644 (file)
@@ -29,7 +29,7 @@ CPP_DEPS += \
 src/loader/%.o: ../src/loader/%.cpp
        @echo 'Building file: $<'
        @echo 'Invoking: GCC C++ Compiler'
-       g++ -I/usr/include/SDL -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
+       g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
        @echo 'Finished building: $<'
        @echo ' '