Statistics
| Branch: | Revision:

scoutos / scout_gumstix / encoder / Makefile @ 2b0ba4bb

History | View | Annotate | Download (196 Bytes)

1
obj-m += encoder.o
2
KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build
3

    
4
all: encoder.ko
5

    
6
encoder.ko: encoder.c
7
	make -C $(KERNEL_DIR) M=$(PWD) modules
8

    
9
clean:
10
	make -C $(KERNEL_DIR) M=$(PWD) clean