[Top][All Lists]

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

GNU MAKE issue

From: Oliver Shariff III
Subject: GNU MAKE issue
Date: Fri, 17 Dec 2010 05:32:54 -0800 (PST)
User-agent: G2/1.0

Hello, hope you understand my post because im getting crazy with that
MAKE thing on Solaris...
does anybody know something about that? hope so..my question is easy I
suppose but I don't get any

well, I have a big Imakefile im trying to educate just a little, and
Im wondering how to pass my own variables
to that makefile, for example I try to define WORD as follows

WORD="a path";
for word in `pwd | tr -s "/" " "`;

echo "$$WORD/pathtoinclude/Imakefile.rules" > dir_path/Imakefile; \

so my results are 0, do you know how I get WORD onto that echo?
Ive tested different forms to pass my variables but...as this other

rel=""; found="0"; \                                                            
        address@hidden word in `pwd | tr -s "/" " "`; \                         
        if $(found)= -eq 1,     then $(rel)=$(rel)../; \        @@\
        if $(word)="ADA",then $found="1"; \                                     
        echo "$(word)/$$rel/$$found/Imakefile.rules" > dir_path/Imakefile;
\    @@\

Could somebody help me? thank you Im getting dizzy with that

reply via email to

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