[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: RE: Multi-Arch Multi-directories make
From: |
Uri Shkolnik |
Subject: |
Fwd: RE: Multi-Arch Multi-directories make |
Date: |
Thu, 15 Jun 2006 01:27:26 -0700 (PDT) |
> --- "Leeuwesteijn,Joost"
> <address@hidden> wrote:
>
> > This makefile segment will work well in UNIX
based
> OS,
> > but not in win32, because the ";" (semicolon)
is
> a
> > delimiter between two UNIX shell commands, but
not
> in
> > dos (where is maybe should be "&&" but you can't
> put
> > this in the makefile)
> >
> > So, my questions are: -
> > 1) How do you write such makefile segment for
> > dos/win32?
>
> Put the command in a variable and use two variants
> based on the platform
> would work
>
[Uri Sh.] How do you do that? How a variable will
get
the volatile value of "dir"?
> > 2) Is it possible two write the same makefile
for
> both
> > (UNIX/win32) without any penalty at execution
> time?
>
> Use the same shell on both platforms, i.e.
bash/*sh?
>
[Uri Sh.] I tried with "sh.exe make.exe ....." but
the
same problem occurs with the ";"
> --
> Joost Leeuwesteijn
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com