aboutsummaryrefslogtreecommitdiff
path: root/pa3_device_driver/Makefile
diff options
context:
space:
mode:
authorJack Sangdahl <[email protected]>2024-04-02 23:09:00 -0600
committerJack Sangdahl <[email protected]>2024-04-02 23:09:00 -0600
commit8dbe92136c33a2254b617e6d5273d5499de5ad90 (patch)
tree310c981ca2d57559d00d87366984715286c2e28c /pa3_device_driver/Makefile
parent4485201ffbadee4126f04575b1a4aa991152b22c (diff)
downloadcsci3753-8dbe92136c33a2254b617e6d5273d5499de5ad90.tar.gz
csci3753-8dbe92136c33a2254b617e6d5273d5499de5ad90.zip
pa3
Diffstat (limited to 'pa3_device_driver/Makefile')
-rw-r--r--pa3_device_driver/Makefile8
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