Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
CXXFLAGS = -std=c++11
LDFLAGS = -lcurses -lboost_regex
LDCONFIG = $(shell which ldconfig 2>/dev/null || echo /sbin/ldconfig)
ifneq (,$(findstring libtinfo,$(shell $(LDCONFIG) -p)))
LDFLAGS += -ltinfo
endif

LDFLAGS = $(shell pkg-config --libs ncurses) -lboost_regex
BINS = regex

.PHONY: all
Expand Down