2022-06-06 19:59:25 +00:00
|
|
|
obj-m = lcd.o
|
2022-06-15 16:26:46 +00:00
|
|
|
lcd-y = src/lcd.o src/io.o src/checks.o src/interface.o src/proc.o
|
2022-06-06 19:59:25 +00:00
|
|
|
|
|
|
|
KVERSION = $(shell uname -r)
|
|
|
|
|
|
|
|
all: module clean_int
|
|
|
|
|
|
|
|
module:
|
|
|
|
make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
|
|
|
|
|
|
|
|
clean_int:
|
|
|
|
rm */*.o *.o */.*.cmd .*.cmd *.mod *.c *.symvers *.order
|
|
|
|
|
|
|
|
clean:
|
|
|
|
make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
|