aboutsummaryrefslogtreecommitdiffstats
path: root/misc/haiku/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/haiku/Makefile')
-rw-r--r--misc/haiku/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/haiku/Makefile b/misc/haiku/Makefile
index 34057df..6ab4544 100644
--- a/misc/haiku/Makefile
+++ b/misc/haiku/Makefile
@@ -18,6 +18,8 @@ O_NOBATCH := 0 # no built-in batch renamer
O_NOFIFO := 0 # no FIFO previewer support
O_CTX8 := 0 # enable 8 contexts
O_ICONS := 0 # support icons
+O_QSORT := 0 # use Alexey Tourbin's QSORT implementation
+O_BENCH := 0 # benchmark mode (stops at first user input)
# convert targets to flags for backwards compatibility
ifneq ($(filter debug,$(MAKECMDGOALS)),)
@@ -74,6 +76,14 @@ ifeq ($(O_ICONS),1)
CPPFLAGS += -DICONS
endif
+ifeq ($(O_QSORT),1)
+ CPPFLAGS += -DTOURBIN_QSORT
+endif
+
+ifeq ($(O_BENCH),1)
+ CPPFLAGS += -DBENCH
+endif
+
ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncursesw)
LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncursesw)