mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:33:12 -06:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user