diff -r 0234b0c26c52 -r 88177083f137 examples/msr/Makefile --- a/examples/msr/Makefile Fri Jun 02 08:38:04 2006 +0000 +++ b/examples/msr/Makefile Fri Jun 02 09:02:18 2006 +0000 @@ -75,13 +75,14 @@ KERNEL := $(shell uname -r) endif -KERNELDIR := /lib/modules/$(KERNEL)/build +KERNEL_DIR := /lib/modules/$(KERNEL)/build +CURRENT_DIR := $(shell pwd) modules: - $(MAKE) -C $(KERNELDIR) M=`pwd` + $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean: - $(MAKE) -C $(KERNELDIR) M=`pwd` clean + $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean install: @./install.sh $(MODULE) $(KERNEL)