<quote who="[EMAIL PROTECTED]">
> Hello all!
>
> I was wondering how GNU make can best be used to build programs on
> multiple platforms (and on each platform possibly with multiple
> compilers), like on Win32 with MSVC and OpenWatcom, on Linux with g++,
> etc.
>
> Part of the answer is of course already discussed in
> http://make.paulandlesley.org/multi-arch.html , and thus my goal is to
> be able to use a single Makefile for all platforms and all compilers
> that I support for my project.
>
> All that I'm still really concerned about is the portability of the
> shell commands that are used e.g. for the "clean" targets: I cannot
> simply get make from
> http://prdownloads.sf.net/mingw/mingw32-make-3.80.0-3.exe?download
> *and* write for example rm -f $(shell find . -name "*~") as a
> shell command for the clean target, can I?
>
> How can this problem best be addressed? sh.exe for Win32? Conditionals
> in the Makefile? ...?
> I'd be very grateful for some advice.
>
If you don't mind an emulation layer, see information about MSYS at the
MinGW link below.
Earnie
--
MinGW - http://www.mingw.org/
Wiki - http://www.mingw.org/MinGWiki/
Bug Report - http://sourceforge.net/tracker/?group_id=2435&atid=102435
Submit Patch - http://sourceforge.net/tracker/?group_id=2435&atid=302435
SF Project - http://sourceforge.net/projects/mingw
Job Listing - http://sf.net/people/viewjob.php?group_id=2435&job_id=21643
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32