Updated some compilation flags.

This commit is contained in:
2017-02-11 19:56:20 -04:00
parent 963ecb1147
commit 610ab9cfa0
2 changed files with 20 additions and 3 deletions

View File

@@ -5,3 +5,20 @@
-I./include -I./include
-DGLM_FORCE_RADIANS -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

View File

@@ -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 OBJECTS = ias_ss.o robot.o ias_robot.o gui.o ogl.o GLSLProgram.o pnglite.o pheromone.o
DEPENDS = $(OBJECTS:.o=.d) DEPENDS = $(OBJECTS:.o=.d)
CFLAGS = -ansi -pedantic -Wall -I./include CFLAGS = -ansi -pedantic -Wall -I./include
CXXFLAGS = -ansi -pedantic -Wall `pkg-config --cflags playerc++` -I./include -DGLM_FORCE_RADIANS -DBOOST_SIGNALS_NO_DEPRECATION_WARNING 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 -lfltk -lfltk_gl LDLIBS = `pkg-config --libs playerc++` -lboost_system -lm -lpthread -lz -lGLEW -lGLU -lGL `fltk-config --ldflags --use-gl`
all: CXXFLAGS += -O2 -DNDEBUG all: CXXFLAGS += -O2 -DNDEBUG
all: $(TARGET) all: $(TARGET)