interpreters/ficl: Fix compilation issue

A NuttX user told that ficl wasn't working as suggested in the
README.txt, then I found that the root cause was the order of the
Make.srcs inclusion inside the Makefile. I think we can do better:
we could automate the process to download and configure ficl.
This commit is contained in:
Alan C. Assis 2021-04-13 11:16:52 -03:00 committed by Xiang Xiao
parent acfd0a9b4e
commit 496393a87b

View File

@ -39,6 +39,10 @@ include $(APPDIR)/Make.defs
# Tools
# Include the generated Make.srcs
-include Make.srcs
# Include paths
CFLAGS += ${shell $(INCDIR) "$(CC)" $(BUILDDIR)/$(FICL_SUBDIR) $(BUILDDIR)/src}
@ -47,8 +51,6 @@ CFLAGS += ${shell $(INCDIR) "$(CC)" $(BUILDDIR)/$(FICL_SUBDIR) $(BUILDDIR)/src}
CSRCS = nuttx.c
-include Make.srcs
ASRCS += $(FICL_ASRCS)
CXXSRCS += $(FICL_CXXSRCS)
CSRCS += $(FICL_CSRCS)