Ingo Molnar | e0143ba | 2009-03-23 21:29:59 +0100 | [diff] [blame] | 1 | BINS = kerneltop perfstat |
2 | |||||
3 | all: $(BINS) | ||||
4 | |||||
Ingo Molnar | 383c5f8 | 2009-03-23 21:49:25 +0100 | [diff] [blame^] | 5 | kerneltop: kerneltop.c ../../include/linux/perf_counter.h |
Ingo Molnar | e0143ba | 2009-03-23 21:29:59 +0100 | [diff] [blame] | 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) |