Updated some compilation flags.
This commit is contained in:
@@ -4,4 +4,21 @@
|
||||
-I/usr/local/include/player-3.0
|
||||
-I./include
|
||||
-DGLM_FORCE_RADIANS
|
||||
-DBOOST_SIGNALS_NO_DEPRECATION_WARNING
|
||||
-DBOOST_SIGNALS_NO_DEPRECATION_WARNING
|
||||
-I/usr/include/cairo
|
||||
-I/usr/include/glib-2.0
|
||||
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
|
||||
-I/usr/include/pixman-1
|
||||
-I/usr/include/freetype2
|
||||
-I/usr/include/libpng12
|
||||
-I/usr/include/freetype2
|
||||
-I/usr/include/cairo
|
||||
-I/usr/include/glib-2.0
|
||||
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
|
||||
-I/usr/include/pixman-1
|
||||
-I/usr/include/freetype2
|
||||
-I/usr/include/libpng12
|
||||
-D_LARGEFILE_SOURCE
|
||||
-D_LARGEFILE64_SOURCE
|
||||
-D_THREAD_SAFE
|
||||
-D_REENTRANT
|
||||
|
4
Makefile
4
Makefile
@@ -27,8 +27,8 @@ TARGET = ias-ss
|
||||
OBJECTS = ias_ss.o robot.o ias_robot.o gui.o ogl.o GLSLProgram.o pnglite.o pheromone.o
|
||||
DEPENDS = $(OBJECTS:.o=.d)
|
||||
CFLAGS = -ansi -pedantic -Wall -I./include
|
||||
CXXFLAGS = -ansi -pedantic -Wall `pkg-config --cflags playerc++` -I./include -DGLM_FORCE_RADIANS -DBOOST_SIGNALS_NO_DEPRECATION_WARNING
|
||||
LDLIBS = `pkg-config --libs playerc++` -lboost_system -lm -lpthread -lz -lGLEW -lGLU -lGL -lfltk -lfltk_gl
|
||||
CXXFLAGS = -ansi -pedantic -Wall `pkg-config --cflags playerc++` -I./include -DGLM_FORCE_RADIANS -DBOOST_SIGNALS_NO_DEPRECATION_WARNING `fltk-config --cxxflags --use-gl`
|
||||
LDLIBS = `pkg-config --libs playerc++` -lboost_system -lm -lpthread -lz -lGLEW -lGLU -lGL `fltk-config --ldflags --use-gl`
|
||||
|
||||
all: CXXFLAGS += -O2 -DNDEBUG
|
||||
all: $(TARGET)
|
||||
|
Reference in New Issue
Block a user