]> Git Repo - linux.git/blame - tools/power/cpupower/debug/x86_64/Makefile
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / tools / power / cpupower / debug / x86_64 / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
7490ca1e
FBH
2OUTPUT=./
3ifeq ("$(origin O)", "command line")
4 OUTPUT := $(O)/
5endif
6
f1660338
FBH
7DESTDIR =
8bindir = /usr/bin
9
10INSTALL = /usr/bin/install
11
7490ca1e 12
7fe2f639
DB
13default: all
14
7490ca1e 15$(OUTPUT)centrino-decode: ../i386/centrino-decode.c
4bf3bd0f 16 $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $<
7fe2f639 17
7490ca1e 18$(OUTPUT)powernow-k8-decode: ../i386/powernow-k8-decode.c
4bf3bd0f 19 $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $<
7fe2f639 20
7490ca1e 21all: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode
7fe2f639
DB
22
23clean:
7490ca1e 24 rm -rf $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode
7fe2f639 25
f1660338
FBH
26install:
27 $(INSTALL) -d $(DESTDIR)${bindir}
28 $(INSTALL) $(OUTPUT)centrino-decode $(DESTDIR)${bindir}
29 $(INSTALL) $(OUTPUT)powernow-k8-decode $(DESTDIR)${bindir}
30
31.PHONY: all default clean install
This page took 0.309506 seconds and 4 git commands to generate.