diff --git a/Tools/unix/cpmtools/Makefile b/Tools/unix/cpmtools/Makefile index 61d92b6c..4960ac11 100644 --- a/Tools/unix/cpmtools/Makefile +++ b/Tools/unix/cpmtools/Makefile @@ -15,8 +15,9 @@ DEFFORMAT=wbw_fd144 # Locate the ncurses libs or try a guess if pkg-config does not exist NCURSESLIBS=$(shell if env pkg-config --libs ncurses ; then : ; else echo -lncurses ; fi) +NCURSESCFLAGS=$(shell if env pkg-config --cflags ncurses ; then : ; fi) -CPPFLAGS = -DDISKDEFS=\"$(DISKDEFS)\" -DFORMAT=\"$(DEFFORMAT)\" +CPPFLAGS = -DDISKDEFS=\"$(DISKDEFS)\" -DFORMAT=\"$(DEFFORMAT)\" $(NCURSESCFLAGS) DEVICEOBJ = device_posix.o