Re: [Ekiga-devel-list] Cross-compiling ekiga for win32
- From: Michael Cronenworth <mike cchtml com>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: Re: [Ekiga-devel-list] Cross-compiling ekiga for win32
- Date: Thu, 25 Jun 2009 14:18:51 -0500
Eugen Dedu on 06/25/2009 02:15 PM wrote:
>
> Is it difficult? Are there only 5 if-s to be declared inside Makefile
> or it is more complicated?
>
No. Here's a primitive example:
OS_TYPE := $(shell uname -s)
ifneq (,$(findstring MINGW,$(OS_TYPE)))
BUILD_TARGET = WINDOWS
endif
This would set $BUILD_TARGET to WINDOWS if you were running make from a
Windows OS using MinGW.
This won't work though if you are attempting to build from a Windows
command prompt. There is no "uname" command in Windows by default unless
you put the MinGW tools in your %PATH% (not done by default).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]