From e5b6ea14ab1cd8fb8792adf390b8ac295547ba5c Mon Sep 17 00:00:00 2001 From: Louie Shprung Date: Sat, 31 Dec 2022 17:51:37 -0800 Subject: Improve detection of ncurses.h --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 23352ae..96cf15d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,4 +2,5 @@ EXTRA_DIST = include bin_PROGRAMS = simple-snake simple_snake_SOURCES = body.c draw.c -simple_snake_LDADD = -lncurses -lm +simple_snake_LDADD = @CURSES_LIBS@ -lm +simple_snake_CPPFLAGS = @CURSES_CFLAGS@ -- cgit