From: Philippe Proulx Date: Thu, 10 Mar 2016 22:02:31 +0000 (-0500) Subject: Examples: add -Wall -pedantic to CFLAGS X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=60225330e4920515557b8a3ebfb108f698942dde;p=deliverable%2Fbarectf.git Examples: add -Wall -pedantic to CFLAGS Signed-off-by: Philippe Proulx --- diff --git a/doc/examples/linux-fs-simple/Makefile b/doc/examples/linux-fs-simple/Makefile index f5552ab..cc3f847 100644 --- a/doc/examples/linux-fs-simple/Makefile +++ b/doc/examples/linux-fs-simple/Makefile @@ -3,7 +3,7 @@ RM = rm -rf MKDIR = mkdir PLATFORM_DIR = ../../../platforms/linux-fs -CFLAGS = -O2 -std=gnu99 -I$(PLATFORM_DIR) -I. +CFLAGS = -O2 -Wall -pedantic -std=gnu99 -I$(PLATFORM_DIR) -I. TARGET = linux-fs-simple OBJS = $(TARGET).o barectf.o barectf-platform-linux-fs.o diff --git a/doc/examples/parallella/Makefile b/doc/examples/parallella/Makefile index 8cdb0fe..d0cafc3 100644 --- a/doc/examples/parallella/Makefile +++ b/doc/examples/parallella/Makefile @@ -10,7 +10,7 @@ OBJCOPY=$(CROSS_COMPILE)objcopy ESDK=$(EPIPHANY_HOME) ELDF=$(ESDK)/bsps/current/fast.ldf PLATFORM_DIR = ../../../platforms/parallella -CFLAGS = -O2 -std=c99 -I$(PLATFORM_DIR) -I. +CFLAGS = -O2 -Wall -pedantic -std=c99 -I$(PLATFORM_DIR) -I. LDFLAGS = -T $(ELDF) -le-lib TARGET = parallella