981efe9ab9
This is unchanged version 20070714, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. Signed-off-by: Len Brown <len.brown@intel.com>
14 lines
349 B
Makefile
14 lines
349 B
Makefile
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)) *~
|
|
|