NxWM needs the path to the apps/include directory

This commit is contained in:
Gregory Nutt 2016-07-28 12:05:38 -06:00
parent 2a8bca7619
commit 8f305416ed

View File

@ -1,7 +1,7 @@
#################################################################################
# NxWidgets/nxwm/Makefile
#
# Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved.
# Copyright (C) 2012, 2014, 2016 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@ -33,6 +33,7 @@
#
#################################################################################
-include $(TOPDIR)/.config
-include $(TOPDIR)/Make.defs
# Control build verbosity
@ -113,6 +114,10 @@ CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(NXWIDGETDIR)$(DELIM)include
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(NXWMDIR)$(DELIM)include}
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(NXWIDGETDIR)$(DELIM)include}
APPDIR = $(TOPDIR)$(DELIM)$(CONFIG_APPS_DIR)
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
DEPPATH = --dep-path src
VPATH = src