Remove space at the end of the distribution variable
[transforward.git] / Makefile
1 obj-m += transforward.o
2
3 KVER=$(shell uname -r)
4 ARCH=$(shell uname -m)
5
6 # Is there an easy way of fetching this automatically, short of mapping /etc/redhat-release
7 DIST=fc18
8
9 ifeq ($(wildcard /lib/modules/$(KVER)/build),) 
10         KVER=3.10.6-100.$(DIST).$(ARCH)
11 endif
12
13 all:
14         make -C /lib/modules/$(KVER)/build M=$(PWD) modules
15
16 clean:
17         make -C /lib/modules/$(KVER)/build M=$(PWD) clean