diff --git a/infrastructure-centred/libowlps-client/Makefile b/infrastructure-centred/libowlps-client/Makefile index 5642a41..69d8be5 100644 --- a/infrastructure-centred/libowlps-client/Makefile +++ b/infrastructure-centred/libowlps-client/Makefile @@ -18,7 +18,7 @@ HEADER=owlps-client.h OBJS=$(LIB_CIBLE).o # Flags -CFLAGS=-O2 -W -Wall -Wstrict-prototypes -O -I. +CFLAGS=-O2 -Wall -Wextra -Wstrict-prototypes -O -I. DEPFLAGS=-MMD XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) PICFLAG=-fPIC diff --git a/infrastructure-centred/libowlps-client/Makefile_atheros b/infrastructure-centred/libowlps-client/Makefile_atheros index d647bba..6184c9e 100644 --- a/infrastructure-centred/libowlps-client/Makefile_atheros +++ b/infrastructure-centred/libowlps-client/Makefile_atheros @@ -21,7 +21,7 @@ HEADER=owlps-client.h OBJS=$(LIB_CIBLE).o # Flags -CFLAGS=-O2 -W -Wall -Wstrict-prototypes -O -I. +CFLAGS=-O2 -Wall -Wextra -Wstrict-prototypes -O -I. DEPFLAGS=-MMD XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) PICFLAG=-fPIC diff --git a/infrastructure-centred/owlps-aggregator/Makefile b/infrastructure-centred/owlps-aggregator/Makefile index 4565698..1339a55 100644 --- a/infrastructure-centred/owlps-aggregator/Makefile +++ b/infrastructure-centred/owlps-aggregator/Makefile @@ -17,7 +17,7 @@ TARGET=owlps-aggregatord HEADER=owlps-aggregator.h # Flags -CFLAGS=-O2 -W -Wall -Wstrict-prototypes -O -I. +CFLAGS=-O2 -Wall -Wextra -Wstrict-prototypes -O -I. DEPFLAGS=-MMD XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) PICFLAG=-fPIC diff --git a/infrastructure-centred/owlps-client/Makefile b/infrastructure-centred/owlps-client/Makefile index 899fb09..059b702 100644 --- a/infrastructure-centred/owlps-client/Makefile +++ b/infrastructure-centred/owlps-client/Makefile @@ -17,7 +17,7 @@ TARGET=owlps-client HEADER= # Flags -CFLAGS = -O2 -W -Wall -Wstrict-prototypes -O -I. +CFLAGS = -O2 -Wall -Wextra -Wstrict-prototypes -O -I. DEPFLAGS = -MMD XCFLAGS = $(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) PICFLAG = -fPIC diff --git a/infrastructure-centred/owlps-client/Makefile_atheros b/infrastructure-centred/owlps-client/Makefile_atheros index ab9a1a4..b48f1c9 100644 --- a/infrastructure-centred/owlps-client/Makefile_atheros +++ b/infrastructure-centred/owlps-client/Makefile_atheros @@ -23,7 +23,7 @@ TARGET=owlps-client HEADER= # Flags -CFLAGS = -O2 -W -Wall -Wstrict-prototypes -I. +CFLAGS = -O2 -Wall -Wextra -Wstrict-prototypes -I. DEPFLAGS = -MMD XCFLAGS = $(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) PICFLAG = -fPIC diff --git a/infrastructure-centred/owlps-listener/Makefile b/infrastructure-centred/owlps-listener/Makefile index 673a319..8e36ce6 100644 --- a/infrastructure-centred/owlps-listener/Makefile +++ b/infrastructure-centred/owlps-listener/Makefile @@ -17,7 +17,7 @@ TARGET=owlps-listenerd HEADER=owlps-listener.h # Flags -CFLAGS = -O2 -W -Wall -Wstrict-prototypes -I. +CFLAGS = -O2 -Wall -Wextra -Wstrict-prototypes -I. DEPFLAGS = -MMD XCFLAGS = $(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) PICFLAG = -fPIC diff --git a/infrastructure-centred/owlps-listener/Makefile_atheros b/infrastructure-centred/owlps-listener/Makefile_atheros index 47a9951..3bf7ccd 100644 --- a/infrastructure-centred/owlps-listener/Makefile_atheros +++ b/infrastructure-centred/owlps-listener/Makefile_atheros @@ -23,7 +23,7 @@ TARGET=owlps-listenerd HEADER=owlps-listener.h # Flags -CFLAGS = -O2 -W -Wall -Wstrict-prototypes -I. +CFLAGS = -O2 -Wall -Wextra -Wstrict-prototypes -I. DEPFLAGS = -MMD XCFLAGS = $(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) PICFLAG = -fPIC @@ -33,7 +33,8 @@ LOWLPSCLIENTA = ../libowlps-client/libowlps-client.a LIBS = -lpcap -liw -lm $(LOWLPSCLIENTA) LATHEROS = -L$(TOOLCHAIN_USR)/lib -L$(TOOLCHAIN_USR_2)/lib IATHEROS = -I$(TOOLCHAIN_USR)/include -I$(TOOLCHAIN_USR_2)/include -#OWLPSFLAGS = -D USE_CONFIG_FILE -lconfuse -D USE_PTHREAD -pthread +OWLPSFLAGS = -D USE_PTHREAD -pthread +#OWLPSFLAGS += -D USE_CONFIG_FILE -lconfuse LDFLAGS = $(OWLPSFLAGS) $(LIBS) diff --git a/libowlps/Makefile b/libowlps/Makefile index 21f9bfc..f2fb2dc 100644 --- a/libowlps/Makefile +++ b/libowlps/Makefile @@ -31,7 +31,7 @@ HEADER=owlps.h OBJS=$(LIB_CIBLE).o # Flags -CFLAGS=-O2 -W -Wall -Wstrict-prototypes -O -I. +CFLAGS=-O2 -Wall -Wextra -Wstrict-prototypes -O -I. DEPFLAGS=-MMD XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) PICFLAG=-fPIC diff --git a/libowlps/Makefile_atheros b/libowlps/Makefile_atheros index d99269a..07161ca 100644 --- a/libowlps/Makefile_atheros +++ b/libowlps/Makefile_atheros @@ -34,7 +34,7 @@ HEADER=owlps.h OBJS=$(LIB_CIBLE).o # Flags -CFLAGS=-O2 -W -Wall -Wstrict-prototypes -O -I. +CFLAGS=-O2 -Wall -Wextra -Wstrict-prototypes -O -I. DEPFLAGS=-MMD XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) PICFLAG=-fPIC