eobish

diff Makefile @ 8:c0e8bbf96849

merged
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 19 Jan 2015 15:49:36 +0200
parents cdbcae5b3b98
children
line diff
     1.1 --- a/Makefile	Mon Jan 19 15:49:14 2015 +0200
     1.2 +++ b/Makefile	Mon Jan 19 15:49:36 2015 +0200
     1.3 @@ -8,6 +8,10 @@
     1.4  dbg = -g
     1.5  def = -DFBLIB_SDL
     1.6  
     1.7 +ifeq ($(shell uname -s), Darwin)
     1.8 +	def += -Dmain=SDL_main
     1.9 +endif
    1.10 +
    1.11  CFLAGS = $(warn) $(opt) $(dbg) $(def) `pkg-config --cflags sdl`
    1.12  CXXFLAGS = $(CFLAGS)
    1.13  LDFLAGS = `pkg-config --libs sdl`