aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/cpupower/debug/i386/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/power/cpupower/debug/i386/Makefile')
-rw-r--r--tools/power/cpupower/debug/i386/Makefile26
1 files changed, 16 insertions, 10 deletions
diff --git a/tools/power/cpupower/debug/i386/Makefile b/tools/power/cpupower/debug/i386/Makefile
index d08cc1ead9b..626478b8a55 100644
--- a/tools/power/cpupower/debug/i386/Makefile
+++ b/tools/power/cpupower/debug/i386/Makefile
@@ -1,20 +1,26 @@
1OUTPUT=./
2ifeq ("$(origin O)", "command line")
3 OUTPUT := $(O)/
4endif
5
6
1default: all 7default: all
2 8
3centrino-decode: centrino-decode.c 9$(OUTPUT)centrino-decode: centrino-decode.c
4 $(CC) $(CFLAGS) -o centrino-decode centrino-decode.c 10 $(CC) $(CFLAGS) -o $@ centrino-decode.c
5 11
6dump_psb: dump_psb.c 12$(OUTPUT)dump_psb: dump_psb.c
7 $(CC) $(CFLAGS) -o dump_psb dump_psb.c 13 $(CC) $(CFLAGS) -o $@ dump_psb.c
8 14
9intel_gsic: intel_gsic.c 15$(OUTPUT)intel_gsic: intel_gsic.c
10 $(CC) $(CFLAGS) -o intel_gsic -llrmi intel_gsic.c 16 $(CC) $(CFLAGS) -o $@ -llrmi intel_gsic.c
11 17
12powernow-k8-decode: powernow-k8-decode.c 18$(OUTPUT)powernow-k8-decode: powernow-k8-decode.c
13 $(CC) $(CFLAGS) -o powernow-k8-decode powernow-k8-decode.c 19 $(CC) $(CFLAGS) -o $@ powernow-k8-decode.c
14 20
15all: centrino-decode dump_psb intel_gsic powernow-k8-decode 21all: $(OUTPUT)centrino-decode $(OUTPUT)dump_psb $(OUTPUT)intel_gsic $(OUTPUT)powernow-k8-decode
16 22
17clean: 23clean:
18 rm -rf centrino-decode dump_psb intel_gsic powernow-k8-decode 24 rm -rf $(OUTPUT){centrino-decode,dump_psb,intel_gsic,powernow-k8-decode}
19 25
20.PHONY: all default clean 26.PHONY: all default clean