#kernel build system and can use its lanauge ifneq($(KERNELRELEASE),) obj-m:=helloworld.o else KDIR:= /lib/modules/2.6.33.3-85.fc13.i686/build all: make -C $(KDIR) M=
Check before obj-m: and KDIR: etc. Are your tabs being inserted as spaces?
obj-m:
KDIR: