From 2464318a205ee47c59164be18f7763fd9723a7d8 Mon Sep 17 00:00:00 2001
From: Manohar Vanga <manohar.vanga@cern.ch>
Date: Mon, 7 Nov 2011 10:48:09 +0100
Subject: [PATCH] simulation: add warnings to firmware makefile

Signed-off-by: Manohar Vanga <manohar.vanga@cern.ch>
---
 simulation/fw/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/simulation/fw/Makefile b/simulation/fw/Makefile
index 70b14d3..334a41c 100644
--- a/simulation/fw/Makefile
+++ b/simulation/fw/Makefile
@@ -1,9 +1,9 @@
-CFLAGS += -I../include
+CFLAGS += -I../include -Wall -Wextra
 
 all: wb_cfggen
 
 wb_cfggen: wb_cfggen.o
-	gcc wb_cfggen.o -o wb_cfggen
+	$(CC) $(CFLAGS) wb_cfggen.o -o wb_cfggen
 
 clean:
 	rm -rf wb_cfggen *.o
-- 
GitLab