Statistics
| Branch: | Revision:

root / scout_gumstix / encoder / Makefile @ 2b0ba4bb

History | View | Annotate | Download (196 Bytes)

1 83163372 Tom Mullins
obj-m += encoder.o
2 2b0ba4bb Tom Mullins
KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build
3 83163372 Tom Mullins
4
all: encoder.ko
5
6
encoder.ko: encoder.c
7 2b0ba4bb Tom Mullins
	make -C $(KERNEL_DIR) M=$(PWD) modules
8 83163372 Tom Mullins
9
clean:
10 2b0ba4bb Tom Mullins
	make -C $(KERNEL_DIR) M=$(PWD) clean