summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Cerqueira <dan.git@lispclub.com>2026-08-18 11:59:36 +0100
committerDaniel Cerqueira <dan.git@lispclub.com>2026-08-18 16:11:31 +0100
commit738e53849d39db2cba7c7fd97dd74a64bcafe363 (patch)
treebbbae86081b88956c2941796f00ab2699da8c60f /Makefile
parentb2db65a84bd8b9d802cd8323fa3fa82aab4d5782 (diff)
use readlinev.0.3.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f9542d8..68d5d71 100644
--- a/Makefile
+++ b/Makefile
@@ -47,22 +47,25 @@ PREFIX ?= /usr/local
.PHONY: native
native: CPPFLAGS += -DNDEBUG
native: CFLAGS += -O2
+native: LDFLAGS += -lreadline
native: $(PROGRAM)
.PHONY: generic
generic: CPPFLAGS += -DNDEBUG
generic: CFLAGS += -mtune=generic -O2
+generic: LDFLAGS += -lreadline
generic: $(PROGRAM)
.PHONY: all
all: CPPFLAGS += -DNDEBUG
all: CFLAGS += -O2
+all: LDFLAGS += -lreadline
all: $(PROGRAM) $(LIB) $(HTML)
.PHONY: debug
debug: CPPFLAGS += -DDEBUG
debug: CFLAGS += -O0 -g
-debug: LDFLAGS += -g
+debug: LDFLAGS += -lreadline
debug: $(PROGRAM)
.PHONY: clean