From 60225330e4920515557b8a3ebfb108f698942dde Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 10 Mar 2016 17:02:31 -0500 Subject: [PATCH] Examples: add -Wall -pedantic to CFLAGS Signed-off-by: Philippe Proulx --- doc/examples/linux-fs-simple/Makefile | 2 +- doc/examples/parallella/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1