Carsten Koch wrote: > Lauri Tischler wrote: > ... > >> Not quite.. > > > I like your version better. > My version works too, though: > > /tmp/m> cat Makefile > LINUX_VERSION:=$(shell uname -r | cut -c-3) > > DVBDIR:=lib/modules/`uname -r`/build > ifeq ($(LINUX_VERSION), 2.4) > DVBDIR:=../DVB > endif > > ifeq ($(LINUX_VERSION), 2.2) > DVBDIR:=../DVB > endif > > all: > echo $(DVBDIR) > /tmp/m> make > echo lib/modules/`uname -r`/build > lib/modules/2.6.11.4-21.8-smp/build when running make just thought that it was odd ... -Ilib/modules/`uname -r`/build/include menu.c Also / was missing from front of lib