Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346903
b: refs/heads/master
c: ee0778a
h: refs/heads/master
i:
  346901: 30c9909
  346899: 6b83542
  346895: 9a2b551
v: v3
  • Loading branch information
Mark Asselstine authored and Len Brown committed Nov 30, 2012
1 parent 3f6840b commit 33ed6cc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 84764a415c707b43e751deb579a421776f190a95
refs/heads/master: ee0778a3015370779f603d2b6119a6ec2b1c811a
20 changes: 16 additions & 4 deletions trunk/tools/power/x86/turbostat/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
CC = $(CROSS_COMPILE)gcc
BUILD_OUTPUT := $(PWD)
PREFIX := /usr
DESTDIR :=

turbostat : turbostat.c
CFLAGS += -Wall
CFLAGS += -I../../../../arch/x86/include/

%: %.c
@mkdir -p $(BUILD_OUTPUT)
$(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@

.PHONY : clean
clean :
rm -f turbostat
@rm -f $(BUILD_OUTPUT)/turbostat

install :
install turbostat /usr/bin/turbostat
install turbostat.8 /usr/share/man/man8
install : turbostat
install -d $(DESTDIR)$(PREFIX)/bin
install $(BUILD_OUTPUT)/turbostat $(DESTDIR)$(PREFIX)/bin/turbostat
install -d $(DESTDIR)$(PREFIX)/share/man/man8
install turbostat.8 $(DESTDIR)$(PREFIX)/share/man/man8

0 comments on commit 33ed6cc

Please sign in to comment.