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/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/24.CursorControl/Makefile b/examples/24.CursorControl/Makefile
index dc7d09f..f5e6069 100644
--- a/examples/24.CursorControl/Makefile
+++ b/examples/24.CursorControl/Makefile
@@ -31,10 +31,10 @@ LDFLAGS = $(USERLDFLAGS)
#default target is Linux
all: all_linux
-OGLESLIBS := -lEGL -lGLESv2
# target specific settings
+-include ../../source/Irrlicht/global-settings.mk
all_linux all_win32 static_win32: LDFLAGS += -L$(IrrlichtHome)/lib/$(SYSTEM) -lIrrlicht
-all_linux: LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) $(OGLESLIBS) -lXxf86vm -lXext -lX11 -lXcursor -lz -lpng -ljpeg -lbz2
+all_linux: LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) $(OGLLIBS) $(X11LIBS) $(EXTRALIBS)
all_linux clean_linux: SYSTEM=Linux
all_win32 clean_win32 static_win32: SYSTEM=Win32-gcc
all_win32 clean_win32 static_win32: SUF=.exe