#
# Makefile for the USB network device driver.
#

TARGET  := mcs7830
INCLUDE := -isystem /lib/modules/`uname -r`/build/include 
INCLUDE-USB := -I/lib/modules/`uname -r`/build/drivers/usb/serial
CFLAGS  := -O2 -DMODULE -D__KERNEL__ ${WARN} ${INCLUDE} ${INCLUDE-USB} -g
CC      := gcc
	
${TARGET}.o: ${TARGET}.c

load:
	#modprobe usb-uhci
	insmod mcs7830.o
	#ifconfig usb0 192.168.200.79
unload:
	#ifconfig usb0 down
	rmmod mcs7830

.PHONY: clean

clean:
	-rm -f ${TARGET}.o
