mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-22 12:21:44 +00:00
Merge pull request #1 from DrItanium/ia64
Added Itanium Support and fixed some missing platform checks
This commit is contained in:
commit
cb3d6ac56a
2 changed files with 9 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -33,7 +33,7 @@ endif
|
|||
|
||||
# Refuse all other platforms as a firewall against PEBKAC
|
||||
# (You'll need some #ifdef for your unsupported plattform!)
|
||||
ifeq ($(findstring $(ARCH), i386 x86_64 sparc64),)
|
||||
ifeq ($(findstring $(ARCH), i386 x86_64 sparc64 ia64),)
|
||||
$(error arch $(ARCH) is currently not supported)
|
||||
endif
|
||||
|
||||
|
|
|
@ -66,6 +66,10 @@
|
|||
*/
|
||||
#if defined(__FreeBSD__)
|
||||
#define OS "FreeBSD"
|
||||
#elif defined(__APPLE__)
|
||||
#define OS "MacOS X"
|
||||
#elif defined(__OpenBSD__)
|
||||
#define OS "OpenBSD"
|
||||
#elif defined(__linux__)
|
||||
#define OS "Linux"
|
||||
#elif defined(_WIN32)
|
||||
|
@ -78,6 +82,10 @@
|
|||
#define ARCH "i386"
|
||||
#elif defined(__x86_64__)
|
||||
#define ARCH "amd64"
|
||||
#elif defined(__sparc__)
|
||||
#define ARCH "sparc64"
|
||||
#elif defined(__ia64__)
|
||||
#define ARCH "ia64"
|
||||
#else
|
||||
#define ARCH "unknown"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue