Browse Source

Improve cpmtools Makefile, Issue #505

See issue #505.  This change should improve build compatibility if there are multiple variants of ncurses installed.

Thanks and credit to @mabartibin.

Co-Authored-By: mabartibin <16798058+mabartibin@users.noreply.github.com>
pull/509/head
Wayne Warthen 10 months ago
parent
commit
6f5aa06fb3
No known key found for this signature in database GPG Key ID: 8B34ED29C07EEB0A
  1. 3
      Tools/unix/cpmtools/Makefile

3
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

Loading…
Cancel
Save