mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-04 22:00:25 +00:00
Don't include from Nuttx/include as system files. Need real platform files. config.h is an issue.
This commit is contained in:
parent
d7ce4110bb
commit
487e6197c8
2 changed files with 6 additions and 5 deletions
|
|
@ -33,7 +33,10 @@
|
|||
#
|
||||
#############################################################################
|
||||
|
||||
TRAVELER = $(APPDIR)/graphics/traveler
|
||||
|
||||
WD = ${shell pwd}
|
||||
APPDIR = $(WD)/../../..
|
||||
TRAVELER = $(WD)/../..
|
||||
|
||||
BIN = libwld.a
|
||||
WLDSRCS = wld_createworld.c wld_deallocateworld.c
|
||||
|
|
@ -56,7 +59,7 @@ AR = ar -rcv
|
|||
|
||||
DEBUG_LEVEL = 0
|
||||
DEFINES = -DDEBUG_LEVEL=$(DEBUG_LEVEL)
|
||||
INCLUDES = -I. -I$(APPDIR)/include -I$(TOPDIR)/include -I$(TRAVELER)/include
|
||||
INCLUDES = -I. -I$(APPDIR)/include -I$(TRAVELER)/include
|
||||
WARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wno-trigraphs
|
||||
|
||||
ifneq ($(DEBUG_LEVEL),0)
|
||||
|
|
|
|||
|
|
@ -68,9 +68,7 @@ endif
|
|||
TOOLS = $(TRAVELER)/tools
|
||||
LIBWLD = $(TOOLS)/libwld
|
||||
|
||||
TOPDIR = /home/patacongo/projects/nuttx/master/nuttx
|
||||
NUTTXINC = $(TOPDIR)/include
|
||||
INC_PATH = -I$(TRAVELER)/include -I$(TOOLS)/tcledit -I$(LIBWLD) -isystem $(NUTTXINC)
|
||||
INC_PATH = -I$(TRAVELER)/include -I$(TOOLS)/tcledit -I$(LIBWLD)
|
||||
|
||||
VPATH = $(TOOLS)/tcledit
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue