Makefile: fix link with bfd linker
This commit is contained in:
parent
c800a91692
commit
5dc6a36bf8
|
@ -2,8 +2,8 @@ sources := $(wildcard *.cc)
|
||||||
objects := $(sources:.cc=.o)
|
objects := $(sources:.cc=.o)
|
||||||
deps := $(addprefix ., $(sources:.cc=.d))
|
deps := $(addprefix ., $(sources:.cc=.d))
|
||||||
|
|
||||||
CXXFLAGS += -std=c++0x -g -Wall -Wno-reorder -Wno-sign-compare
|
CXXFLAGS += -std=c++11 -g -Wall -Wno-reorder -Wno-sign-compare
|
||||||
LDFLAGS += -lmenu -lncursesw -lboost_regex
|
LIBS += -lmenu -lncursesw -lboost_regex
|
||||||
|
|
||||||
debug ?= yes
|
debug ?= yes
|
||||||
ifeq ($(debug),yes)
|
ifeq ($(debug),yes)
|
||||||
|
@ -17,7 +17,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
kak : $(objects)
|
kak : $(objects)
|
||||||
$(CXX) $(LDFLAGS) $(CXXFLAGS) $(objects) -o $@
|
$(CXX) $(LDFLAGS) $(CXXFLAGS) $(objects) $(LIBS) -o $@
|
||||||
|
|
||||||
-include $(deps)
|
-include $(deps)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user