crepl

An intuitive calculator REPL.
git clone git://git.knutsen.co/crepl
Log | Files | Refs | README | LICENSE

commit 0d97cdf38fdc3c96e00f8ce85169b0a08351cf3a
parent 6af646cb251254490579dfc91c1d17c6a1176114
Author: Demonstrandum <moi@knutsen.co>
Date:   Mon, 29 Jun 2020 17:29:22 +0100

Add links to cflags.

Diffstat:
MMakefile | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,10 +1,11 @@ CC := gcc OPT := -O3 WARN := -Wall -Wpedantic -Wextra -Wshadow -fcompare-debug-second -CFLAGS := $(WARN) $(OPT) +LINKS := -lm -lreadline +CFLAGS := $(WARN) $(OPT) $(LINKS) TARGET := crepl OBJS := main.o defaults.o error.o parse.o displays.o builtin.o execute.o prelude.o -LINKS := -lm -lreadline + ifeq ($(PREFIX),) PREFIX := /usr/local