[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmsl
From: |
John Graham-Cumming |
Subject: |
Re: gmsl |
Date: |
Wed, 12 Apr 2006 20:18:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104 |
PATTON, BILLY (SBCSI) wrote:
Originally I tried
include /some_path/gmsl
It gave me a warning of something like cannot find __gmsl
Actually I have a solution to that problem that I've just checked into
CVS for GMSL and will be in the next release. If you replace the line
include __gmsl
in the gmsl file with:
__gmsl_root := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
ifeq (1,$(words $(__gmsl_root)))
__gmsl_root := $(patsubst %gmsl,%,$(__gmsl_root))
else
__gmsl_root :=
endif
include $(__gmsl_root)__gmsl
Then the problem goes away because the gmsl Makefile is able to cope
with you having written include /foo/gmsl and will automatically figure
out where __gmsl is.
John.
- gmsl, PATTON, BILLY \(SBCSI\), 2006/04/12
- Re: gmsl, John Graham-Cumming, 2006/04/12
- RE: gmsl, PATTON, BILLY \(SBCSI\), 2006/04/12
- Re: gmsl,
John Graham-Cumming <=