2012-09-23 02:49:25 +00:00
|
|
|
PROG= acpidump
|
2012-09-23 02:33:19 +00:00
|
|
|
SRCS= acpidump.c
|
|
|
|
KERNEL_INCLUDE := ../../../include
|
2012-09-23 02:49:25 +00:00
|
|
|
CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
|
2012-09-23 02:33:19 +00:00
|
|
|
|
|
|
|
all: acpidump
|
2012-09-23 02:49:25 +00:00
|
|
|
$(PROG) : $(SRCS)
|
2012-09-23 02:33:19 +00:00
|
|
|
$(CC) $(CFLAGS) $(SRCS) -o $(PROG)
|
|
|
|
|
|
|
|
CLEANFILES= $(PROG)
|
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~
|
|
|
|
|