# A simple Makefile to build modules
# if a module called module.ko is genrated from two source files the correct
# incantation would be:
# obj-m      :=module.o
# module-objs:=file1.o file2.o

obj-m := wx_upgrade.o
KERNELDIR ?=/lib/modules/$(shell uname -r)/build

PWD       :=$(shell pwd)

all:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules


#install:
#	install -d $(INSTALLDIR) 
#	install -c $(TARGET).O $(INSTALLDIR)

clean:
	rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .temp_versions *.order \
	       *.markers *symvers





