1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# Makefile # SRC := $(shell pwd) obj-m += aim_v4l2.o aim_v4l2-y := video.o CFLAGS_video.o := -Idrivers/media/video -I$(src)/../include/ all: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules modules_install: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install clean: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) clean