aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ccc8cec..f834406 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,10 @@ ifeq ($(shell uname),Darwin)
-Wno-missing-noreturn -Wno-cast-qual
endif
+ifneq (, $(SH))
+ CFLAGS += -D'SH="$(SH)"'
+endif
+
PICKER_FLAG=
ifeq (, $(PICKER))
PICKER=$(shell sh -c "(which fzy >/dev/null 2>/dev/null && echo 'fzy') || (which fzf >/dev/null 2>/dev/null && echo 'fzf') || (which pick >/dev/null 2>/dev/null && echo 'pick') || (which ask >/dev/null 2>/dev/null && echo 'ask')")