aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAmit Arora <amit.arora@linaro.org>2010-08-03 10:15:20 +0530
committerAmit Arora <amit.arora@linaro.org>2010-08-03 10:15:20 +0530
commite9e16b0ae8add42168c68e9d8bbd27d97fa944bd (patch)
tree9d9734e227bf83e15e770975ecacbc71ae49868c /Makefile
New powerdebug tool
This is a new tool to show some of the information which powertop doesn't - like, information for sensor, regulator etc.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0226e34
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
+CFLAGS?=-O1 -g ${WARNFLAGS}
+CC?=gcc
+
+OBJS = powerdebug.o output.o sensor.o
+
+
+powerdebug: $(OBJS) powerdebug.h
+ $(CC) ${CFLAGS} $(OBJS) -o powerdebug
+
+All: powerdebug
+
+clean:
+ rm -f powerdebug *.o