public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* best way to prevent a cygwin build?
@ 2011-12-02  7:46 Paul Allen Newell
  2011-12-02  9:47 ` Csaba Raduly
  2011-12-02 17:39 ` Warren Young
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Allen Newell @ 2011-12-02  7:46 UTC (permalink / raw)
  To: cygwin; +Cc: pnewell

Dear Cygwin:

I have a network of Fedora machines and WinXP running Cygwin. Most of 
the projects I work on can be compiled/linked/run under both, but there 
are exceptions. As in Maya ...

I am not happy with having to run two separate source trees and would 
like a way (as in "best standard") to add something to any Maya makefile 
which will prevent execution if it is being compiled on Cygwin. The best 
I have been able to come up with is a check under each make directive, 
but that's alot of exceptions where I would think only one would be 
necessary.

I searched the GNU make docs and googled for such, but the best I could 
see were bailout rules under a given make rule directive. I can find out 
whether I need to bail by the test "ifeq (Cygwin, $(shell uname -o))" 
but can't figure out a way to have the makefile ask this question once 
for the entire set of make directives in it.

Any suggestions?

Thanks,
Paul

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-03  0:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-02  7:46 best way to prevent a cygwin build? Paul Allen Newell
2011-12-02  9:47 ` Csaba Raduly
2011-12-02 18:50   ` Dave Korn
2011-12-03  0:34     ` [SOLVED:] " Paul Allen Newell
2011-12-02 17:39 ` Warren Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).