summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-20 09:16:38 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-20 09:16:38 +0800
commitf5b387f8602b30d47841696cb0165aa88218f42a (patch)
treed5bbdea82c3d4b8b96d035421e7d28dbffd0f6ed /Makefile.am
parentfad30f64dd061fb8c98fe64f6596e1785c8babeb (diff)
Rename index to main and move it up to root dir
Also log the downloaded data.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 4 insertions, 4 deletions
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