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