[maemo-developers] How to know target in makefile?
From: Mikko Mehtonen mikko.mehtonen at vincit.fiDate: Tue Jun 17 13:46:46 EEST 2008
- Previous message: How to know target in makefile?
- Next message: How to know target in makefile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a library that I must link against and I need to select the right version. I.e. something like this: if x86 LIB = -lx86Version else LIB = -larmVersion endif Or is there some other way to achieve this? Mikko -----Original Message----- From: Santtu Lakkala [mailto:inz at inz.fi] Sent: 17. kesäkuuta 2008 13:39 To: Mikko Mehtonen Cc: maemo-developers at maemo.org Subject: Re: How to know target in makefile? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mikko Mehtonen wrote: > Is there a way to know in Makefile which target we are building (arm > or x86)? There seems to be a variable $target in scratchbox, but it > isn't exported so it's not visible in Makefile. May I ask why do you need this information. Sbox is meant to be "transparent" and the target name shouldn't make any difference. - -- Santtu Lakkala -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIV5QnX9Rc0+po4p0RAs6fAJ9lK86FfkvpBKO4Wk606ayeSXv+iACgshtH Nshgvpg+6mCAYmaMdGUMTZg= =AboO -----END PGP SIGNATURE-----
- Previous message: How to know target in makefile?
- Next message: How to know target in makefile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]