summaryrefslogtreecommitdiffstats
path: root/tools/cgroup/Makefile
diff options
context:
space:
mode:
authorGreg Thelen <gthelen@google.com>2013-01-04 13:05:17 -0800
committerTejun Heo <tj@kernel.org>2013-01-07 09:41:28 -0800
commit92e015b1cfc24e3cb072385f25171b8599cc7ef3 (patch)
tree465c64f5b337dcdec22adb6cb4aa82c5fe410bca /tools/cgroup/Makefile
parent12a9d2fef1d35770d3cdc2cd1faabb83c45bc0fa (diff)
downloadlinux-92e015b1cfc24e3cb072385f25171b8599cc7ef3.tar.bz2
cgroups: move cgroup_event_listener.c to tools/cgroup
Move the cgroup_event_listener.c tool from Documentation into the new tools/cgroup directory. This change involves wiring cgroup_event_listener.c into the tools/ make system so that is can be built with: $ make tools/cgroup Signed-off-by: Greg Thelen <gthelen@google.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/cgroup/Makefile')
-rw-r--r--tools/cgroup/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/cgroup/Makefile b/tools/cgroup/Makefile
new file mode 100644
index 000000000000..b4286196b763
--- /dev/null
+++ b/tools/cgroup/Makefile
@@ -0,0 +1,11 @@
+# Makefile for cgroup tools
+
+CC = $(CROSS_COMPILE)gcc
+CFLAGS = -Wall -Wextra
+
+all: cgroup_event_listener
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+ $(RM) cgroup_event_listener