From e21d5cb2229c8c868fad896c08e7c25c103b824a Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 18 May 2016 18:03:28 +0100 Subject: Fix warnings and set -Werror --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1950016..7995b28 100644 --- a/Makefile +++ b/Makefile @@ -24,9 +24,9 @@ JS_PRE := $(wildcard javascript/*pre.js) JS_POST := $(wildcard javascript/*post.js) CPPFLAGS += -Iinclude -Ilib -CFLAGS += -Wall -std=c89 -fPIC -CXXFLAGS += -Wall -std=c++11 -fPIC -LDFLAGS += -Wall +CFLAGS += -Wall -Werror -std=c89 -fPIC +CXXFLAGS += -Wall -Werror -std=c++11 -fPIC +LDFLAGS += -Wall -Werror EMCCFLAGS = --closure 1 --memory-init-file 0 -s NO_FILESYSTEM=1 -s INVOKE_RUN=0 # NO_BROWSER is kept for compatibility with emscripten 1.35.24, but is no -- cgit v1.2.3