[maemo-developers] How to know target in makefile?
From: Daniil Ivanov daniil.ivanov at gmail.comDate: Tue Jun 17 13:50:04 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 ]
Hello, This command return you some useful output dpkg-architecture -qDEB_BUILD_GNU_TYPE Thanks, Daniil. On Tue, Jun 17, 2008 at 1:46 PM, Mikko Mehtonen <mikko.mehtonen at vincit.fi> wrote: > 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----- > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers >
- Previous message: How to know target in makefile?
- Next message: How to know target in makefile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]