linux_module_learn/examples/misc-progs/Makefile

14 lines
297 B
Makefile

FILES = nbtest load50 mapcmp polltest mapper setlevel setconsole inp outp \
datasize dataalign netifdebug
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
INCLUDEDIR = $(KERNELDIR)/include
CFLAGS = -O2 -fomit-frame-pointer -Wall -I$(INCLUDEDIR)
all: $(FILES)
clean:
rm -f $(FILES) *~ core