Hi Guys,
I've got (and attached) this simple Makefile that checks the build platform
of a machine.
Here's the cut-and-pasted content of the Makefile:
PLATFORM=$(shell uname -s | cut -f 1 -d | cut -f 1 -d _);
dummy:
ifeq (${PLATFORM}, CYGWIN)
echo cygwin;
else
echo linux;
endif
On 7/18/2007 9:03 PM, Carlo Florendo wrote:
I've got (and attached) this simple Makefile that checks the build
platform of a machine.
Here's the cut-and-pasted content of the Makefile:
PLATFORM=$(shell uname -s | cut -f 1 -d | cut -f 1 -d _);
Try removing the trailing semicolon. It is not
David Rothenberger wrote:
On 7/18/2007 9:03 PM, Carlo Florendo wrote:
I've got (and attached) this simple Makefile that checks the build
platform of a machine.
Here's the cut-and-pasted content of the Makefile:
PLATFORM=$(shell uname -s | cut -f 1 -d | cut -f 1 -d _);
Try removing the
Carlo Florendo wrote:
David Rothenberger wrote:
On 7/18/2007 9:03 PM, Carlo Florendo wrote:
I've got (and attached) this simple Makefile that checks the build
platform of a machine.
Here's the cut-and-pasted content of the Makefile:
PLATFORM=$(shell uname -s | cut -f 1 -d | cut -f 1 -d
4 matches
Mail list logo