aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2013-01-08 16:38:57 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2013-01-08 16:38:57 +0100
commitcc595d5f92bfe63f7f551ec9a0ebd7ed20961981 (patch)
tree2dc103fa808552768c201d946af7d048d794b2e3 /Makefile
initial import
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..16f0267
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+CFLAGS?=-g -Wall
+CC?=gcc
+
+OBJS = idlestat.o
+
+default: idlestat
+
+idledebug: $(OBJS)
+ $(CC) ${CFLAGS} $(OBJS) -lncurses -o $@
+
+clean:
+ rm -f $(OBJS) idlestat