Re-order include paths, attempting to fix travis build
This commit is contained in:
parent
743ef0e616
commit
289d52489b
7
Makefile
7
Makefile
@ -18,8 +18,9 @@ WIDGET_LIB = build/widget.a
|
||||
WX_RES = $(shell wx-config --rescomp)
|
||||
WX_CXXFLAGS = $(shell wx-config --cxxflags)
|
||||
|
||||
DEV_CXXFLAGS = -g -Wall -Wextra -DDEBUG
|
||||
CXXFLAGS = -Os -DNDEBUG
|
||||
INC_FLAGS = -Iinclude -I. -I/usr/local/include
|
||||
DEV_CXXFLAGS = -g -Wall -Wextra -DDEBUG $(INC_FLAGS)
|
||||
CXXFLAGS = -Os -DNDEBUG $(INC_FLAGS)
|
||||
|
||||
TEST_SRC = $(wildcard tests/*.cpp)
|
||||
TESTS = $(patsubst %.cpp,%,$(TEST_SRC))
|
||||
@ -53,8 +54,6 @@ ifeq ($(OS),Linux)
|
||||
CXX += -std=c++11 -Wno-unknown-pragmas -Wno-missing-field-initializers
|
||||
endif
|
||||
|
||||
CXX += -Iinclude -I. -I/usr/local/include
|
||||
|
||||
ifdef $(DEV)
|
||||
all: CXXFLAGS = $(DEV_CXXFLAGS)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user