summarylogtreecommitdiffstats
path: root/Makefile
blob: c1052cedf8f174fc408871da2d14df6eda1d5cfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ifneq ($(KERNELRELEASE),)
obj-m :=  isl29018.o
else
KDIR ?= /lib/modules/`uname -r`/build

all: isl29018

isl29018: isl29018.c
	$(MAKE) -C $(KDIR) M=$$PWD


clean:
	rm -f *.o *.ko modules.order Module.symvers *.mod.c
endif