aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/build.rules
blob: bc91d660ef5d46aaa3c074efeb2ce0049a35fcaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Build settings for the SDL backend
MODULES  += backends/sdl
DEFINES  += -DUNIX
INCLUDES += `sdl-config --cflags`
LIBS     += `sdl-config --libs`

# The normal (non OpenGL-accelerated) SDL backend
OBJS	 += backends/sdl/sdl.o

# Uncomment these lines (instead of the above) to use SDL with OpenGL
# OBJS	   += backends/sdl/sdl_gl.o
# LIBS     += -lGL

# Uncomment this in addition to the above if you compile on Mac OS X
# DEFINES += -DMACOSX
# LIBS	+= -framework QuickTime -framework AudioUnit