Oops, broke NLS and Darwin in the Makefile. Fixed.
authorrlk <rlk@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sat, 22 Dec 2007 22:08:20 +0000 (22:08 +0000)
committerrlk <rlk@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sat, 22 Dec 2007 22:08:20 +0000 (22:08 +0000)
git-svn-id: https://s.snth.net/svn/neverball/trunk@1279 78b8d119-cf0a-0410-b17c-f493084dd1d7

Makefile

index b4e70db..cf9e0a9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,8 @@ endif
 #------------------------------------------------------------------------------
 # Optional flags (CFLAGS, CPPFLAGS, ...)
 
-CFLAGS := -Wall -g -ansi -pedantic
-#CFLAGS := -Wall -O2 -ansi -pedantic
+#CFLAGS := -Wall -g -ansi -pedantic
+CFLAGS := -Wall -O2 -ansi -pedantic
 
 #------------------------------------------------------------------------------
 # Mandatory flags
@@ -63,7 +63,12 @@ ifneq ($(ENABLE_NLS),0)
 endif
 
 BASE_LIBS := -ljpeg $(PNG_LIBS)
-ALL_LIBS  := $(SDL_LIBS) $(BASE_LIBS) -lSDL_ttf -lvorbisfile $(OGL_LIBS)
+
+ifdef DARWIN
+    BASE_LIBS += -L/opt/local/lib
+endif
+
+ALL_LIBS  := $(SDL_LIBS) $(BASE_LIBS) $(INTL_LIBS) -lSDL_ttf -lvorbisfile $(OGL_LIBS)
 
 #------------------------------------------------------------------------------