fast method_name->source_file lookups, heuristics for finding ioctl names
[moctel.git] / 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)
 
-all: show_ioctl
+all: show_ioctl gen_method_list
        $(MAKE) -C $(KDIR) M=$(PWD) modules
 
-show_ioctl:
+show_ioctl: show_ioctl.c
        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