lw35-upgrade/ioc/kernel-driver/Makefile

15 lines
310 B
Makefile
Raw Permalink Normal View History

obj-m := lw35ioc.o
KDIR := ~/projects/linux/opi-current
2018-08-09 11:27:55 +02:00
PWD := $(shell pwd)
default: lw35ioc.ko
lw35ioc.ko: lw35ioc.c
$(MAKE) -C $(KDIR) M=$(PWD)
2018-08-09 11:27:55 +02:00
deploy: lw35ioc.ko
scp $< markus@opi:/home/markus/projects/lw35/deploy/
2018-08-09 11:27:55 +02:00
clean:
rm -f ./*.o ./*.ko ./*.mod.c modules.order Module.symvers
.phony: deploy clean