aboutsummaryrefslogtreecommitdiff
path: root/examples/24.CursorControl/Makefile
diff options
context:
space:
mode:
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