summarylogtreecommitdiffstats
path: root/Makefile
blob: b11347cc65a6f691d4a747f49ba74aaee9410999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
ifneq (${KERNELRELEASE},)
ccflags-y := -I$(src)/include -DWINESYNC_MINOR=243
obj-m += src/drivers/misc/winesync.o
else
KDIR ?= /lib/modules/`uname -r`/build

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

clean:
	$(MAKE) -C $(KDIR) M=$$PWD clean
endif