enforce no warnings
Stefan Schuermans

Stefan Schuermans commited on 2016-12-21 09:47:31
Showing 1 changed files, with 2 additions and 2 deletions.

... ...
@@ -24,14 +24,14 @@ VERSION   := $(VER_MAJ).$(VER_MIN).$(VER_REV)
24 24
 SRCS    := $(wildcard src/*.c)
25 25
 EX_SRCS := $(wildcard examples/src/*.c)
26 26
 
27
-CFLAGS     := -W -Wall -O3
27
+CFLAGS     := -Wall -Wextra -Werror -O3
28 28
 DEFINES    := -DFLP_VER_MAJ=$(VER_MAJ) -DFLP_VER_MIN=$(VER_MIN) \
29 29
               -DFLP_VER_REV=$(VER_REV)
30 30
 INCLUDES   := -Iinclude
31 31
 SH_LDFLAGS :=
32 32
 SH_LIBS    :=
33 33
 EX_LDFLAGS := -Llib
34
-EX_LIBS    := -lm -lflexipix
34
+EX_LIBS    := -lflexipix -lm
35 35
 STOW_DIR   := /usr/local/stow
36 36
 DEF_PREFIX := /usr/local
37 37
 
38 38