summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorveider <veider@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-02 22:56:22 +0000
committerveider <veider@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-02 22:56:22 +0000
commitc9d4ab83fc3ab94c4cafc8c90bbbca161edbac45 (patch)
tree3b60bc58c6c25c76cca2d6326cd60a50c1c2cae8
parentab9000884a33241b4a293826a9dc0506b8c3c326 (diff)
downloadhercules-c9d4ab83fc3ab94c4cafc8c90bbbca161edbac45.tar.gz
hercules-c9d4ab83fc3ab94c4cafc8c90bbbca161edbac45.tar.bz2
hercules-c9d4ab83fc3ab94c4cafc8c90bbbca161edbac45.tar.xz
hercules-c9d4ab83fc3ab94c4cafc8c90bbbca161edbac45.zip
Added NetBSD support into Makefile
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1384 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-SVN.txt1
-rw-r--r--Makefile5
2 files changed, 6 insertions, 0 deletions
diff --git a/Changelog-SVN.txt b/Changelog-SVN.txt
index dad2a500b..81437c295 100644
--- a/Changelog-SVN.txt
+++ b/Changelog-SVN.txt
@@ -2,6 +2,7 @@
Date Added
04/03
+ * Added NetBSD support into Makefile (Still lots of warrnings during compilation [veider]
* Finished Valkyrie. Now it correctly works. Valhallana reborns players to High Novices. [Lupus]
(added missed kRO condition: to reborn, player shouldn't have money nor items(equipment) )
Then Valhallana warps just reborn players to the home city of their main job.
diff --git a/Makefile b/Makefile
index 0e9baabb4..efd5ec40a 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,11 @@ MAKE = gmake
else
MAKE = make
endif
+ifeq ($(findstring NetBSD,$(PLATFORM)), NetBSD)
+MAKE = gmake
+else
+MAKE = make
+endif
OPT = -g -O2 -ffast-math -Wall -Wno-sign-compare
# OPT += -DDUMPSTACK -rdynamic