1PROG= acpidump 2SRCS= acpidump.c 3KERNEL_INCLUDE := ../../../include 4CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 5 6all: acpidump 7$(PROG) : $(SRCS) 8 $(CC) $(CFLAGS) $(SRCS) -o $(PROG) 9 10CLEANFILES= $(PROG) 11 12clean : 13 rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~ 14 15install : 16 install acpidump /usr/sbin/acpidump 17 install acpidump.8 /usr/share/man/man8 18 19