mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-08 04:39:50 +02:00
Remove CPPFLAG -I/usr/X11R6/include in all example Makefiles
None uses X11 directly, this is only needed in the Library itself. Also this was even added on all platforms while many don't even have X11. Thanks @Isomorphix noticing something off about that once (a long time ago...): https://irrlicht.sourceforge.io/forum/viewtopic.php?f=1&t=49033 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6294 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
1dbab53e5a
commit
31f5da289f
examples
01.HelloWorld
02.Quake3Map
03.CustomSceneNode
04.Movement
05.UserInterface
06.2DGraphics
07.Collision
08.SpecialFX
09.Meshviewer
10.Shaders
11.PerPixelLighting
12.TerrainRendering
13.RenderToTexture
14.Win32Window
15.LoadIrrFile
16.Quake3MapShader
17.HelloWorld_Mobile
18.SplitScreen
19.MouseAndJoystick
20.ManagedLights
21.Quake3Explorer
22.MaterialViewer
23.SMeshHandling
24.CursorControl
25.XmlHandling
26.OcclusionQuery
27.PostProcessing
28.CubeMapping
30.Profiling
Demo
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -5,7 +5,7 @@ Target = 17.HelloWorld_Mobile
|
|||||||
Sources = main.cpp
|
Sources = main.cpp
|
||||||
|
|
||||||
# general compiler settings
|
# general compiler settings
|
||||||
CPPFLAGS = -I../../include -I/usr/X11R6/include
|
CPPFLAGS = -I../../include
|
||||||
CXXFLAGS = -O3 -ffast-math
|
CXXFLAGS = -O3 -ffast-math
|
||||||
#CXXFLAGS = -g -Wall
|
#CXXFLAGS = -g -Wall
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -5,7 +5,7 @@ Target = 27.PostProcessing
|
|||||||
Sources = main.cpp
|
Sources = main.cpp
|
||||||
|
|
||||||
# general compiler settings
|
# general compiler settings
|
||||||
CPPFLAGS = -I../../include -I/usr/X11R6/include
|
CPPFLAGS = -I../../include
|
||||||
CXXFLAGS = -O3 -ffast-math
|
CXXFLAGS = -O3 -ffast-math
|
||||||
#CXXFLAGS = -g -Wall
|
#CXXFLAGS = -g -Wall
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ Target = 28.CubeMapping
|
|||||||
Sources = main.cpp
|
Sources = main.cpp
|
||||||
|
|
||||||
# general compiler settings
|
# general compiler settings
|
||||||
CPPFLAGS = -I../../include -I/usr/X11R6/include
|
CPPFLAGS = -I../../include
|
||||||
CXXFLAGS = -O3 -ffast-math
|
CXXFLAGS = -O3 -ffast-math
|
||||||
#CXXFLAGS = -g -Wall
|
#CXXFLAGS = -g -Wall
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ IrrlichtHome := ../..
|
|||||||
BinPath = ../../bin/$(SYSTEM)
|
BinPath = ../../bin/$(SYSTEM)
|
||||||
|
|
||||||
# general compiler settings (might need to be set when compiling the lib, too)
|
# general compiler settings (might need to be set when compiling the lib, too)
|
||||||
CPPFLAGS += -I$(IrrlichtHome)/include -I/usr/X11R6/include
|
CPPFLAGS += -I$(IrrlichtHome)/include
|
||||||
ifndef NDEBUG
|
ifndef NDEBUG
|
||||||
CXXFLAGS += -g -Wall
|
CXXFLAGS += -g -Wall
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user