obj-m = twnotify.o
KVERSION = $(shell uname -r)

# Detect if we are building for a UEK target or not.
UEK=$(shell uname -r |grep uek |wc -l)

# puts kbuild into verbose output mode.
VERBOSE=0
twnotify-objs := twnotify_main.o twnotify_utils.o twnotify_user.o twnotify_handlers.o
ccflags-y := -DUEK=$(UEK)

#CFLAGS+="-Wa,-alh"
#CFLAGS+="-E"

all:
	make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules V=$(VERBOSE)

clean:
	make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
