diff options
Diffstat (limited to 'pa3_device_driver/Makefile')
-rw-r--r-- | pa3_device_driver/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pa3_device_driver/Makefile b/pa3_device_driver/Makefile new file mode 100644 index 0000000..cf7e700 --- /dev/null +++ b/pa3_device_driver/Makefile @@ -0,0 +1,8 @@ +obj-m += char_driver.o +KBUILD_DIR ?= /lib/modules/`uname -r`/build + +all: + make -C $(KBUILD_DIR) M=`pwd` + +clean: + make -C $(KBUILD_DIR) M=`pwd` clean |