aboutsummaryrefslogtreecommitdiff
path: root/examples/04.Movement/Makefile
diff options
context:
space:
mode:
authorFathi Boudra <fabo@debian.org>2011-10-22 12:28:24 +0300
committerFathi Boudra <fabo@debian.org>2011-10-22 12:28:24 +0300
commit16ae224ccd9b59a029bf2779aa2a45ff34ea17f1 (patch)
tree095b1bfa652d1db7c7e4b59fd6f865a5d0177a3c /examples/04.Movement/Makefile
parent5f0186fc25de5922d30f36732eb2626d7de843e4 (diff)
downloadirrlicht-gles-master.tar.gz
simplify build system to easily switch GLES2/GLES1HEADmaster
Diffstat (limited to 'examples/04.Movement/Makefile')
-rw-r--r--examples/04.Movement/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/04.Movement/Makefile b/examples/04.Movement/Makefile
index 070a1c5..8cb46c2 100644
--- a/examples/04.Movement/Makefile
+++ b/examples/04.Movement/Makefile
@@ -16,9 +16,9 @@ ifeq ($(HOSTTYPE), x86_64)
LIBSELECT=64
endif
-OGLESLIBS := -lEGL -lGLESv2
# target specific settings
-all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht $(OGLESLIBS) -lXxf86vm -lXext -lX11 -lXcursor -lz -lpng -ljpeg -lbz2
+-include ../../source/Irrlicht/global-settings.mk
+all_linux: LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht $(OGLLIBS) $(X11LIBS) $(EXTRALIBS)
all_linux clean_linux: SYSTEM=Linux
all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm
all_win32: CPPFLAGS += -D__GNUWIN32__ -D_WIN32 -DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL