16 lines
295 B
Makefile
16 lines
295 B
Makefile
obj-m += max3109test.o
|
|
|
|
SRC := $(shell pwd)
|
|
|
|
all:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
|
|
|
|
modules_install:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install
|
|
kernel_clean:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean
|
|
|
|
clean: kernel_clean
|
|
rm -rf Module.symvers modules.order
|
|
# clean:
|
|
# rm *.o
|