mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
ctk-curses: make sure gcc finds ncurses headers on cygwin
They are located in /usr/include/ncurses
This commit is contained in:
parent
45662ac1ef
commit
f63aada8b6
@ -38,6 +38,10 @@ CONTIKI_SOURCEFILES += $(CTK) ctk-conio.c $(CONTIKI_TARGET_SOURCEFILES)
|
|||||||
CONTIKI_CPU=$(CONTIKI)/cpu/native
|
CONTIKI_CPU=$(CONTIKI)/cpu/native
|
||||||
include $(CONTIKI)/cpu/native/Makefile.native
|
include $(CONTIKI)/cpu/native/Makefile.native
|
||||||
|
|
||||||
|
ifeq ($(HOST_OS),Windows)
|
||||||
|
CFLAGS += -I/usr/include/ncurses
|
||||||
|
endif
|
||||||
|
|
||||||
CURSES_LIBS ?= -lncurses
|
CURSES_LIBS ?= -lncurses
|
||||||
|
|
||||||
TARGET_LIBFILES += $(CURSES_LIBS)
|
TARGET_LIBFILES += $(CURSES_LIBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user