projects
/
moctel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add license stuff
[moctel.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
ac7b8da
..
5516404
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,9
+1,12
@@
obj-m := moctel_mod.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
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
$(MAKE) -C $(KDIR) M=$(PWD) modules
+
+show_ioctl:
+ gcc -o show_ioctl show_ioctl.c -std=gnu99
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean