help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

well


From: John Doe
Subject: well
Date: Fri, 13 Apr 2007 20:33:31 +0200
User-agent: Thunderbird 1.5.0.10 (X11/20070305)

Well, I've solved the problem:

define module_include
    CURDIR := $(CURDIR)/$(1)
    $(if $(VPATH),VPATH := $(VPATH):$(CURDIR)/$(1),VPATH := $(CURDIR)/$(1))
    include $(CURDIR)/$(1)/module.mk
    CURDIR := $(CURDIR:%/$(notdir $(CURDIR))=%)
endef

Apparenty eval expands all variables and not the text as-is. The code above solves my problem. Are there any better ways?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]