diff options
Diffstat (limited to 'nuttx/graphics/Makefile')
-rw-r--r-- | nuttx/graphics/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/nuttx/graphics/Makefile b/nuttx/graphics/Makefile index 16e68106d..cb581f000 100644 --- a/nuttx/graphics/Makefile +++ b/nuttx/graphics/Makefile @@ -56,10 +56,14 @@ DEPPATH += --dep-path nxsu CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh "$(CC)" $(TOPDIR)/graphics/nxsu} endif -ASRCS = $(NXGLIB_ASRCS) $(NXBE_ASRCS) $(NX_ASRCS) +include nxtk/Make.defs +DEPPATH += --dep-path nxtk +CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh "$(CC)" $(TOPDIR)/graphics/nxtk} + +ASRCS = $(NXGLIB_ASRCS) $(NXBE_ASRCS) $(NX_ASRCS) $(NXTK_ASRCS) AOBJS = $(ASRCS:.S=$(OBJEXT)) -CSRCS = $(NXGLIB_CSRCS) $(NXBE_CSRCS) $(NX_CSRCS) +CSRCS = $(NXGLIB_CSRCS) $(NXBE_CSRCS) $(NX_CSRCS) $(NXTK_CSRCS) COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) @@ -68,9 +72,9 @@ OBJS = $(AOBJS) $(COBJS) BIN = libgraphics$(LIBEXT) ifeq ($(CONFIG_NX_MULTIUSER),y) -VPATH = nxglib:nxbe:nxmu +VPATH = nxglib:nxbe:nxmu:nxtk else -VPATH = nxglib:nxbe:nxsu +VPATH = nxglib:nxbe:nxsu:nxtk endif all: mklibgraphics |