diff options
author | Couriersud <couriersud@users.noreply.github.com> | 2010-01-20 01:18:35 +0000 |
---|---|---|
committer | Couriersud <couriersud@users.noreply.github.com> | 2010-01-20 01:18:35 +0000 |
commit | eb9ed61a6891c38406ed92636f123418311d75da (patch) | |
tree | 4a6b476089f5d1a6e3378a4775bab31430d4364d /makefile | |
parent | 0328f34acbf81861e948bb228ae885ce097d04f8 (diff) |
OpenBSD support in makefile/sdl.mak
Fix XBSD detection of PTR64 (uses amd64)
Cosmetic change to sdlprefix.h
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -83,7 +83,9 @@ endif ifeq ($(firstword $(filter FreeBSD,$(UNAME))),FreeBSD) TARGETOS = freebsd endif - +ifeq ($(firstword $(filter OpenBSD,$(UNAME))),FreeBSD) +TARGETOS = openbsd +endif ifeq ($(firstword $(filter Darwin,$(UNAME))),Darwin) TARGETOS = macosx endif @@ -97,6 +99,9 @@ ifndef PTR64 ifeq ($(firstword $(filter x86_64,$(UNAME))),x86_64) PTR64 = 1 endif +ifeq ($(firstword $(filter amd64,$(UNAME))),amd64) +PTR64 = 1 +endif endif # Autodetect BIGENDIAN |