X-Git-Url: http://git.thejh.net/?p=moctel.git;a=blobdiff_plain;f=Makefile;h=5516404b6b4dba36e739ccdfd3024d31e450e3be;hp=ac7b8da39f2545a2264358ef2f006a6bb661aa5e;hb=b1d5f41202848183d1b6e291afa448c631994d6c;hpb=9ca13033981db455c571e6f54f4ac24938afb94a;ds=sidebyside diff --git a/Makefile b/Makefile index ac7b8da..5516404 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,12 @@ obj-m := moctel_mod.o KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) - -all: + +all: show_ioctl $(MAKE) -C $(KDIR) M=$(PWD) modules + +show_ioctl: + gcc -o show_ioctl show_ioctl.c -std=gnu99 clean: $(MAKE) -C $(KDIR) M=$(PWD) clean