summaryrefslogtreecommitdiffstats
path: root/tools/power/acpi/Makefile
blob: bafeb8d662a3487bb17dae6d795d637de6de3313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PROG= acpidump
SRCS=	acpidump.c
KERNEL_INCLUDE := ../../../include
CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 

all: acpidump
$(PROG) : $(SRCS)
	$(CC) $(CFLAGS) $(SRCS) -o $(PROG)

CLEANFILES= $(PROG)

clean : 
	rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~

install :
	install acpidump /usr/sbin/acpidump
	install acpidump.8 /usr/share/man/man8

OpenPOWER on IntegriCloud