From 35bfd16af8f8316de5ee392fe06020a7d7ed7a33 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 12 Apr 2011 21:03:35 +0200 Subject: Sending through the quicktun interface is working now. --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3