Skip to content

Commit

Permalink
Don't invoke wx-config needlessly often
Browse files Browse the repository at this point in the history
  • Loading branch information
meribold committed Nov 17, 2018
1 parent 5e578e6 commit 1aeb638
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ sources := $(wildcard *.cpp)
objects := $(addprefix $(OBJDIR)/,$(sources:.cpp=.o))
depends := $(addprefix $(OBJDIR)/,$(sources:.cpp=.d))

CXXFLAGS := $$(wx-config --cxxflags) -std=c++14 $(CXXFLAGS) $(addprefix -I, $(IDIRS))
CPPFLAGS := $$(wx-config --cppflags) $(CPPFLAGS)
CXXFLAGS := $(shell wx-config --cxxflags) -std=c++14 $(CXXFLAGS) $(addprefix -I, $(IDIRS))
CPPFLAGS := $(shell wx-config --cppflags) $(CPPFLAGS)
LDFLAGS += $(addprefix -L, $(LDDIRS))
LDLIBS += $$(wx-config --libs)
LDLIBS += $(shell wx-config --libs)

ifeq ($(UNAME), Linux)
LDLIBS += -lboost_thread -lboost_regex -lboost_filesystem -lboost_system
Expand Down

0 comments on commit 1aeb638

Please sign in to comment.