# needless plumbing necessary for dkms to function correctly

ifeq (,$(KVER))
	KERNELBUILD := /lib/modules/`uname -r`/build
else
	KERNELBUILD := /lib/modules/$(KVER)/build
endif

SRC := $(shell pwd)/driver

all:
	$(MAKE) CONFIG_RTL8192EE=m KVER=$(KVER) -C $(KERNELBUILD) M=$(SRC) modules

clean:
	$(MAKE) CONFIG_RTL8192EE=m KVER=$(KVER) -C $(KERNELBUILD) M=$(SRC) clean
