nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Makefile soll 32/64bit unterscheiden

Von: Bernhard Kornberger (bkorn@ist.tugraz.at) [Profil]
Datum: 11.04.2008 07:25
Message-ID: <47fef635$0$12642$3b214f66@aconews.univie.ac.at>
Newsgroup: de.comp.os.unix.programming
Wie man im Makefile prüfen, ob auf einem 32bit- oder
64bit-Betriebssystem compiliert wird? Ziel wäre:

Wenn 32bit: BIN_FILENAME=EXECUTABLE32
Wenn 64bit: BIN_FILENAME=EXECUTABLE64

Danke!
lgB

[ Auf dieses Posting antworten ]

Antworten