X-Git-Url: http://git.thejh.net/?p=moctel.git;a=blobdiff_plain;f=Makefile;h=ea0909a2be63dbe67f1b02a700e712c608ee45a8;hp=ac7b8da39f2545a2264358ef2f006a6bb661aa5e;hb=refs%2Fheads%2Fmaster;hpb=9ca13033981db455c571e6f54f4ac24938afb94a diff --git a/Makefile b/Makefile index ac7b8da..ea0909a 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,15 @@ obj-m := moctel_mod.o KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) - -all: + +all: show_ioctl gen_method_list $(MAKE) -C $(KDIR) M=$(PWD) modules + +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