blob: 055a9b496a7e33a5104fd24091d8dedc48e4d2cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- examples/Demo/Makefile
+++ examples/Demo/Makefile
@@ -2,7 +2,7 @@
Target = Demo
Sources = CDemo.cpp CMainMenu.cpp main.cpp
-CPPFLAGS = -I../../include -I/usr/X11R6/include
+CPPFLAGS = -I/usr/include/irrlicht
CXXFLAGS = -O3 -ffast-math
ifeq ($(HOSTTYPE), x86_64)
@@ -13,7 +13,7 @@
# target specific settings
all_linux: SYSTEM=Linux
-all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/$(SYSTEM) -lIrrlicht -lGL -lGLU -lXxf86vm -lXext -lX11
+all_linux: LDFLAGS = -lIrrlicht -lGL -lGLU -lXxf86vm -lXext -lX11 -lpng -ljpeg
all_win32 clean_win32: SYSTEM=Win32-gcc
all_win32: LDFLAGS = -L../../lib/$(SYSTEM) -lIrrlicht -lopengl32 -lglu32 -lm
|