X-Git-Url: http://git.thejh.net/?p=moctel.git;a=blobdiff_plain;f=Makefile;h=ea0909a2be63dbe67f1b02a700e712c608ee45a8;hp=5516404b6b4dba36e739ccdfd3024d31e450e3be;hb=73d712f1a25728984f7f9b81d7c3d02694648b4f;hpb=d20cca0688694acb09484232ada3aa4d13ac0954 diff --git a/Makefile b/Makefile index 5516404..ea0909a 100644 --- 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