diff options
Diffstat (limited to 'Documentation/perf_counter/Makefile')
-rw-r--r-- | Documentation/perf_counter/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/perf_counter/Makefile b/Documentation/perf_counter/Makefile new file mode 100644 index 000000000000..b45749753fcb --- /dev/null +++ b/Documentation/perf_counter/Makefile | |||
@@ -0,0 +1,12 @@ | |||
1 | BINS = kerneltop perfstat | ||
2 | |||
3 | all: $(BINS) | ||
4 | |||
5 | kerneltop: kerneltop.c perfcounters.h | ||
6 | cc -O6 -Wall -lrt `pkg-config --cflags --libs glib-2.0` -o $@ $< | ||
7 | |||
8 | perfstat: kerneltop | ||
9 | ln -sf kerneltop perfstat | ||
10 | |||
11 | clean: | ||
12 | rm $(BINS) | ||