aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2011-05-24 15:27:49 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2011-05-24 15:27:49 +0200
commit00af33efcffc0a52a902d0e181343532f350129d (patch)
treeabaff999a7c55ea13b8e6c6d8777491f50d5e27a
parent6e48fa45774c09046ac8a30476751da7bffdc6c0 (diff)
downloadpowerdebug-00af33efcffc0a52a902d0e181343532f350129d.tar.gz
Remove pointless compiler flags
-Wall already set most the warning flags Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
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