CC=gcc # Note: If your linux source is in a different directory, change it here: LINUX_SOURCE=/usr/src/linux CFLAGS=-I. -I/usr/src/linux/include -O2 -Wall -DMGAVIDEO -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -DMODVERSIONS -include $(LINUX_SOURCE)/include/linux/modversions.h #all: mgavideo.o ks0127.o zr36060.o msp3400.o tuner.o maven.o i2c.o videodev.o videodev-v4l2.o mgacap.o mgacap-v4l2.o all: mgavideo.o ks0127.o zr36060.o tuner.o msp3400.o maven.o mgacap.o @$(MAKE) -C apps clean: -@rm -f *.o -@$(MAKE) -C apps clean mgavideo.o: zr36060.h ks0127.h mgavideo.h zr36060.o: zr36060.h ks0127.h mgavideo.h mgacap.o: zr36060.h ks0127.h mgavideo.h ks0127.o: zr36060.h ks0127.h mgavideo.h