> --- "Leeuwesteijn,Joost" > <[EMAIL PROTECTED]> 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 _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
