view driver/Makefile @ 13:003fe2470af8

reorganized options: - 0 as recsec means indefinite recording. - now --udp option works as switch to enable udp broadcasting. - --host option has been added. this option specifies hostname to connect via udp socket. - when --udp option is specified, output file may not be specified.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 24 Feb 2009 17:22:06 +0900
parents 07b2fc07ff48
children 5cd8212bea78
line wrap: on
line source

#

TARGET:= pt1_drv.ko

all: ${TARGET}

pt1_drv.ko: pt1_pci.c pt1_i2c.c pt1_tuner.c pt1_tuner_data.c
	make -C /lib/modules/`uname -r`/build M=`pwd` V=1 modules

clean:
	make -C /lib/modules/`uname -r`/build M=`pwd` V=1 clean

obj-m:= pt1_drv.o

pt1_drv-objs := pt1_pci.o pt1_i2c.o pt1_tuner.o pt1_tuner_data.o

clean-files := *.o *.ko *.mod.[co] *~