summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 82e3e7a4f4c48d22eb3bf518524634669a72f4af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ifneq ($(KERNELRELEASE),)
obj-m		:= fastd.o

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

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

endif


.PHONY: clean

clean:
	rm -rf *.o .depend .*.cmd *.ko *.mod.c *.markers *.symvers *.order