[01/28] Remove pointless compiler flags

Message ID 1308256197-29155-1-git-send-email-daniel.lezcano@linaro.org
State Accepted
Headers show

Commit Message

Daniel Lezcano June 16, 2011, 8:29 p.m.
-Wall already set most the warning flags

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 Makefile |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

Patch

diff --git a/Makefile b/Makefile
index 0ac486d..295b7cb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@ 
 BINDIR=/usr/sbin
 MANDIR=/usr/share/man/man8
 
-WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
-CFLAGS?=-O1 -g ${WARNFLAGS}
+CFLAGS?=-O1 -g -Wall -Wshadow
 CC?=gcc
 
 OBJS = powerdebug.o sensor.o clocks.o regulator.o display.o
@@ -23,4 +22,4 @@  install: powerdebug powerdebug.8.gz
 all: powerdebug powerdebug.8.gz
 
 clean:
-	rm -f powerdebug *.o powerdebug.8.gz
+	rm -f powerdebug ${OBJS} powerdebug.8.gz