From c9d4ab83fc3ab94c4cafc8c90bbbca161edbac45 Mon Sep 17 00:00:00 2001 From: veider Date: Sat, 2 Apr 2005 22:56:22 +0000 Subject: Added NetBSD support into Makefile git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1384 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-SVN.txt | 1 + Makefile | 5 +++++ 2 files changed, 6 insertions(+) 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 -- cgit v1.2.3-70-g09d2