summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
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
commiteb9ed61a6891c38406ed92636f123418311d75da (patch)
tree4a6b476089f5d1a6e3378a4775bab31430d4364d /makefile
parent0328f34acbf81861e948bb228ae885ce097d04f8 (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--makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefile b/makefile
index f04d95d4d98..df4ff31b5a2 100644
--- a/makefile
+++ b/makefile
@@ -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