From f5b387f8602b30d47841696cb0165aa88218f42a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 20 Sep 2022 09:16:38 +0800 Subject: Rename index to main and move it up to root dir Also log the downloaded data. --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 8bfd9ed..8909e90 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ -bin_PROGRAMS = index.js -index_js_SOURCES = pages/index.c -index_js_LDFLAGS = -s EXPORTED_RUNTIME_METHODS=[cwrap] \ - -s EXPORTED_FUNCTIONS=[_main,_index_getproducts] \ +bin_PROGRAMS = main.js +main_js_SOURCES = main.c +main_js_LDFLAGS = -s EXPORTED_RUNTIME_METHODS=[cwrap] \ + -s EXPORTED_FUNCTIONS=[_main,_getproducts] \ -s FETCH -- cgit v1.2.3