1 2 3 4 5 6 7 8 9 10 11 12 13
INCLUDES=-I/usr/src/linux/include KCFLAGS=-D__KERNEL__ -I$(INCLUDE) -Wall -Wstrict-prototypes -O2 \ -fomit-frame-pointer -pipe -DMODULE bin_PROGRAMS=mpio.o mpio_o_SOURCES=mpio.c all: mpio.o mpio.o: mpio.c $(CC) -c $(KCFLAGS) $(INCLUDES) $<