# Comment/uncomment the following line to enable/disable debugging

WFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs
#CFLAGS += -DDBG

obj-m := rt73.o

rt73-objs :=  rtmp_main.o mlme.o connect.o rtusb_bulk.o rtusb_io.o sync.o assoc.o auth.o auth_rsp.o rtusb_data.o rtmp_init.o  sanity.o rtmp_wep.o rtmp_info.o rtmp_tkip.o wpa.o md5.o

all: 
	make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules
clean:
	rm -f *.o *~ .*.cmd *.ko *.mod.c
	
#make command :   make -C path/to/src SUBDIRS=$PWD modules
#example :        make -C /usr/src/linux-2.6.3-4mdk SUBDIRS=$PWD modules
