diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-04-12 21:03:35 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-04-12 21:03:35 +0200 |
commit | 35bfd16af8f8316de5ee392fe06020a7d7ed7a33 (patch) | |
tree | a91818cbe150d002f995b0e2ffefd58a55931cf5 /Makefile | |
download | modquicktun-35bfd16af8f8316de5ee392fe06020a7d7ed7a33.tar modquicktun-35bfd16af8f8316de5ee392fe06020a7d7ed7a33.zip |
Sending through the quicktun interface is working now.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a26b6e8 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +ifneq ($(KERNELRELEASE),) +obj-m := quicktun.o + +else +KDIR := /lib/modules/$(shell uname -r)/build +PWD := $(shell pwd) + +all: qtctl + $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules + +qtctl: qtctl.c quicktun.h + cc -o qtctl qtctl.c -lnl +endif + + +.PHONY: clean + +clean: + rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c *.markers *.symvers *.order |