summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8fd4a5d..6537a22 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,9 @@ rm:
sudo rm -f dev
nod: all ins
- sudo mknod dev c 238 0
- sudo chmod 666 dev
+ sudo mknod dev c $(shell awk '$$2=="sad_dev" {print $$1}' /proc/devices) 0
+ sudo chgrp wheel dev
+ sudo chmod 664 dev
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean