Linux 3.11-rc3
[cris-mirror.git] / tools / power / acpi / Makefile
blobbafeb8d662a3487bb17dae6d795d637de6de3313
1 PROG= acpidump
2 SRCS= acpidump.c
3 KERNEL_INCLUDE := ../../../include
4 CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
6 all: acpidump
7 $(PROG) : $(SRCS)
8 $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
10 CLEANFILES= $(PROG)
12 clean :
13 rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~
15 install :
16 install acpidump /usr/sbin/acpidump
17 install acpidump.8 /usr/share/man/man8