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:
cutealien 2022-01-09 15:50:41 +00:00
parent 1dbab53e5a
commit 31f5da289f
30 changed files with 30 additions and 30 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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