From b6d6b0c1c8001731c4e233f8b6a0c75998585317 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Thu, 22 Oct 2009 00:02:15 -0700 Subject: makefile: fix MacPorts-based tiles build Signed-off-by: Steven Noonan --- crawl-ref/source/makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/makefile') diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index d1cae15621..6189693793 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -253,6 +253,8 @@ $(warning Using this makefile to build a tiles build on Mac OS X is NOT OFFICIAL $(warning You should have no expectation of stability if you choose to continue anyway!) $(warning Please use the Xcode project instead.) $(error To build anyway, add the flag UNSUPPORTED_BUILD=y to the command-line) +else +EXTRA_LIBS += -framework OpenGL -framework AppKit endif endif @@ -306,7 +308,7 @@ LIB += -lSDL_image $(SDL_LDFLAGS) $(PNG_LDFLAGS) $(FREETYPE_LDFLAGS) endif # pkg-config -ifneq ($(OSNAME),MacOS) +ifneq ($(uname_S),Darwin) ifeq (,$(findstring MINGW,$(uname_S))) LIB += -lGL -lGLU else -- cgit v1.2.3-54-g00ecf