We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e0815 commit d6316eaCopy full SHA for d6316ea
Makefile
@@ -33,6 +33,7 @@ CXX = g++
33
CXXFLAGS = -Wall -std=c++11
34
OPTFLAGS = -O3
35
DEBUGFLAGS = -g
36
+override CPPFLAGS += $(INCLUDEARGS)
37
38
ifdef DEBUG
39
CXXFLAGS += $(DEBUGFLAGS)
@@ -43,7 +44,7 @@ endif
43
44
all: $(OBJECTS) static
45
46
%.o: %.cpp %.hpp
- $(CXX) $(CXXFLAGS) -c -o $@ $< $(INCLUDEARGS)
47
+ $(CXX) $(CXXFLAGS) -c -o $@ $< $(CPPFLAGS) $(LDLIBS) $(LDFLAGS)
48
49
static: $(OBJECTS)
50
ar cr $(STATIC_LIB) $^
0 commit comments