Skip to content
Snippets Groups Projects
Makefile 223 B
Newer Older
Federico Vaga's avatar
Federico Vaga committed
LINUX ?= /lib/modules/$(shell uname -r)/build

EXTRA_CFLAGS += -I$(obj)/../include
Federico Vaga's avatar
Federico Vaga committed

obj-m = zio-zero.o
obj-m += zio-ad7888.o
Federico Vaga's avatar
Federico Vaga committed

all:
	$(MAKE) -C $(LINUX) M=$(shell /bin/pwd) modules