12 lines
208 B
Makefile
12 lines
208 B
Makefile
|
obj-m := pci_skel.o
|
||
|
|
||
|
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
|
||
|
PWD := $(shell pwd)
|
||
|
|
||
|
all:
|
||
|
$(MAKE) -C $(KERNELDIR) M=$(PWD)
|
||
|
|
||
|
clean:
|
||
|
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions
|
||
|
|