Lauri Tischler wrote: ...
Ugly, very ugly - requires an extra file...
Yeah, I'm too dumb :( Any Makefile gurus around ?
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
...