Makefile option to compile with PCRE lib

Command: make O_PCRE=1 strip
This commit is contained in:
Arun Prakash Jana 2020-01-24 23:28:30 +05:30
parent e5ad7d81ff
commit 1684d7b24e
No known key found for this signature in database
GPG Key ID: A75979F35C080412
2 changed files with 6 additions and 1 deletions

View File

@ -37,6 +37,11 @@ else
LDLIBS += -lreadline
endif
ifeq ($(O_PCRE),1)
CPPFLAGS += -DPCRE
LDLIBS += -lpcre
endif
ifeq ($(O_NOLOC),1)
CPPFLAGS += -DNOLOCALE
endif

View File

@ -58,7 +58,7 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
- CD on quit (*easy* shell integration)
- Search
- Instant filtering with *search-as-you-type*
- Regex and substring (default) matches
- Regex (POSIX/PCRE) and string (default) filters
- Subtree search plugin to open or edit files
- Sort
- Ordered pure numeric names by default (visit _/proc_)