From c48f0176412f2c15fbb3cbc6052550959f581da9 Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Sun, 30 Jun 2024 17:00:48 +0900 Subject: Add support for release compilation mode Displays are not shared libraries, but object files that are part of the final executable. --- src/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index d8f6457..3c4c982 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -28,7 +28,9 @@ linenoise_lib.c: endif # USE_READLINE_COND else # DEBUG_COND -AM_CFLAGS += -DNDEBUG -Wno-unused-variable +AM_CFLAGS += -DNDEBUG +calculer_SOURCES += calc_data.c input.c cli.c tui.c ray.c +AM_LDFLAGS += -lncurses if USE_READLINE_COND AM_LDFLAGS += -lreadline -- cgit v1.2.3