diff --git a/.clang_complete b/.clang_complete index fc388b9..040e2e8 100644 --- a/.clang_complete +++ b/.clang_complete @@ -4,4 +4,21 @@ -I/usr/local/include/player-3.0 -I./include -DGLM_FORCE_RADIANS --DBOOST_SIGNALS_NO_DEPRECATION_WARNING \ No newline at end of file +-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 diff --git a/Makefile b/Makefile index 4b8277e..ca67534 100644 --- a/Makefile +++ b/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)