aboutsummaryrefslogtreecommitdiff
path: root/examples/24.CursorControl/Makefile
diff options
context:
space:
mode:
authorFathi Boudra <fabo@debian.org>2011-10-21 21:52:10 +0300
committerFathi Boudra <fabo@debian.org>2011-10-21 21:52:10 +0300
commit33e4aee565b667d2a13902525ca95b8cd300c3c3 (patch)
treea912da66373b152c8f34a9cdc511458fdaab3cee /examples/24.CursorControl/Makefile
parent34b231499fe8a46e7b2c82db51f706a4a9f96142 (diff)
downloadirrlicht-gles-33e4aee565b667d2a13902525ca95b8cd300c3c3.tar.gz
link against GLESv2
Diffstat (limited to 'examples/24.CursorControl/Makefile')
-rw-r--r--examples/24.CursorControl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/24.CursorControl/Makefile b/examples/24.CursorControl/Makefile
index bc2a137..dc7d09f 100644
--- a/examples/24.CursorControl/Makefile
+++ b/examples/24.CursorControl/Makefile
@@ -31,9 +31,10 @@ LDFLAGS = $(USERLDFLAGS)
#default target is Linux
all: all_linux
+OGLESLIBS := -lEGL -lGLESv2
# target specific settings
all_linux all_win32 static_win32: LDFLAGS += -L$(IrrlichtHome)/lib/$(SYSTEM) -lIrrlicht
-all_linux: LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) -lGL -lXxf86vm -lXext -lX11 -lXcursor
+all_linux: LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) $(OGLESLIBS) -lXxf86vm -lXext -lX11 -lXcursor -lz -lpng -ljpeg -lbz2
all_linux clean_linux: SYSTEM=Linux
all_win32 clean_win32 static_win32: SYSTEM=Win32-gcc
all_win32 clean_win32 static_win32: SUF=.exe