projects
/
moctel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix get_ioctl_names.sh
[moctel.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
5516404
..
ea0909a
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,11
+2,14
@@
obj-m := moctel_mod.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
-all: show_ioctl
+all: show_ioctl
gen_method_list
$(MAKE) -C $(KDIR) M=$(PWD) modules
$(MAKE) -C $(KDIR) M=$(PWD) modules
-show_ioctl:
+show_ioctl:
show_ioctl.c
gcc -o show_ioctl show_ioctl.c -std=gnu99
gcc -o show_ioctl show_ioctl.c -std=gnu99
+
+gen_method_list: gen_method_list.c
+ gcc -o gen_method_list gen_method_list.c -std=gnu99
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean