obj-m    := dmx3191d.o

KDIR    := /lib/modules/$(shell uname -r)/build
PWD    := $(shell pwd)

default:
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules

install: dmx3191d.ko
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules_install
	strip -g /lib/modules/$(shell uname -r)/extra/dmx3191d.ko
