Parcourir la source

Also use pkg-config for regular ncurses

master
Sijmen J. Mulder il y a 6 ans
Parent
révision
599f4e82b7
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. +3
    -0
      Makefile

+ 3
- 0
Makefile Voir le fichier

@@ -14,6 +14,9 @@ CFLAGS += $(CFLAGS_OPTIMIZATION)
ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1) ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
CFLAGS += $(shell $(PKG_CONFIG) --cflags ncursesw) CFLAGS += $(shell $(PKG_CONFIG) --cflags ncursesw)
LDLIBS += $(shell $(PKG_CONFIG) --libs ncursesw) LDLIBS += $(shell $(PKG_CONFIG) --libs ncursesw)
else ifeq ($(shell $(PKG_CONFIG) ncurses && echo 1),1)
CFLAGS += $(shell $(PKG_CONFIG) --cflags ncurses)
LDLIBS += $(shell $(PKG_CONFIG) --libs ncurses)
else else
LDLIBS += -lncurses LDLIBS += -lncurses
endif endif


Chargement…
Annuler
Enregistrer