aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/cpuperf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/misc/cpuperf/Makefile')
-rw-r--r--tools/misc/cpuperf/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/misc/cpuperf/Makefile b/tools/misc/cpuperf/Makefile
index 185660efcb..932c5e82b5 100644
--- a/tools/misc/cpuperf/Makefile
+++ b/tools/misc/cpuperf/Makefile
@@ -26,8 +26,10 @@ TARGETS = cpuperf-xen cpuperf-perfcntr
INSTALL_BIN = $(TARGETS)
+.PHONY: all
all: $(TARGETS)
+.PHONY: clean
clean:
$(RM) *.o $(TARGETS)
@@ -40,6 +42,7 @@ cpuperf-xen: cpuperf.c $(HDRS) Makefile
cpuperf-perfcntr: cpuperf.c $(HDRS) Makefile
$(CC) $(CFLAGS) -DPERFCNTR -o $@ $<
+.PHONY: install
install: all
$(INSTALL_PROG) $(INSTALL_BIN) $(DESTDIR)/usr/bin