[Ipe-discuss] Compilation on Mac OS X 10.6

Marc Glisse marc.glisse at normalesup.org
Sat Oct 31 12:49:55 CET 2009


On Fri, 30 Oct 2009, Sherif Ghali wrote:

> In a subset of make implementations, OSTYPE can be used to detect the OS.
> To run on all implementations, call 'uname' instead.
[...]
> #================================================================
> MYOSTYPE := $(shell uname)
> ifeq ($(MYOSTYPE),Linux)

Hmm, 3 extensions in the first 2 lines is a bit too much for something you 
recommend for portability...
(the posix description of make doesn't have := or $(shell ...) or ifeq)

-- 
Marc Glisse



More information about the Ipe-discuss mailing list