ifneq ($(KERNELRELEASE),)
obj-m:=hw_disk_rw26.o
else
KDIR =/usr/src/linux-2.6.33
# KDIR = /usr/src/kernels/2.6.9-5.EL-i686
PWD:=$(shell pwd)
default:
$(MAKE) -C $(KDIR) M=$(PWD) modules
install:
insmod hw_disk_rw26.ko
uninstall:
rmmod hw_disk_rw26.ko
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean
endif