From aaa198f08c360ddeffea9bd1525d5854be44c100 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Fri, 14 Aug 2020 21:48:50 +0800 Subject: [PATCH] interpreters/duktape: Clean objects Signed-off-by: Huang Qi --- interpreters/duktape/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/interpreters/duktape/Makefile b/interpreters/duktape/Makefile index 84f100007..f090972d0 100644 --- a/interpreters/duktape/Makefile +++ b/interpreters/duktape/Makefile @@ -26,11 +26,16 @@ DUKTAPE_TARBALL = duktape-$(DUKTAPE_VERSION).tar.xz DUKTAPE_URL_BASE = https://github.com/svaarala/duktape/releases/download/ DUKTAPE_URL = $(DUKTAPE_URL_BASE)v$(DUKTAPE_VERSION)/$(DUKTAPE_TARBALL) -CSRCS = $(DUKTAPE_UNPACK)/src-noline/duktape.c -CSRCS += $(DUKTAPE_UNPACK)/extras/console/duk_console.c -CSRCS += $(DUKTAPE_UNPACK)/extras/print-alert/duk_print_alert.c +CSRCS = duktape.c +CSRCS += duk_console.c +CSRCS += duk_print_alert.c -MAINSRC = $(DUKTAPE_UNPACK)/examples/cmdline/duk_cmdline.c +MAINSRC = duk_cmdline.c + +VPATH += $(DUKTAPE_UNPACK)/src-noline +VPATH += $(DUKTAPE_UNPACK)/extras/console +VPATH += $(DUKTAPE_UNPACK)/extras/print-alert +VPATH += $(DUKTAPE_UNPACK)/examples/cmdline PROGNAME = duk PRIORITY = $(CONFIG_INTERPRETERS_DUKTAPE_PRIORITY)