diff options
author | Greg Thelen <gthelen@google.com> | 2013-01-04 16:05:17 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-01-07 12:41:28 -0500 |
commit | 92e015b1cfc24e3cb072385f25171b8599cc7ef3 (patch) | |
tree | 465c64f5b337dcdec22adb6cb4aa82c5fe410bca /tools/cgroup/Makefile | |
parent | 12a9d2fef1d35770d3cdc2cd1faabb83c45bc0fa (diff) |
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/Makefile | 11 |
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 @@ | |||
1 | # Makefile for cgroup tools | ||
2 | |||
3 | CC = $(CROSS_COMPILE)gcc | ||
4 | CFLAGS = -Wall -Wextra | ||
5 | |||
6 | all: cgroup_event_listener | ||
7 | %: %.c | ||
8 | $(CC) $(CFLAGS) -o $@ $^ | ||
9 | |||
10 | clean: | ||
11 | $(RM) cgroup_event_listener | ||