summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-11-15 16:30:37 -0300
committerEuAndreh <eu@euandre.org>2023-11-15 16:30:39 -0300
commit41e968a217e820615a90262491e6e438780560c6 (patch)
treead0786ca4dc78222093632f07d70e625797c596f /Makefile
parentTODOs.md: Add relevant quote on software correctness and discipline (diff)
downloadpapod-41e968a217e820615a90262491e6e438780560c6.tar.gz
papod-41e968a217e820615a90262491e6e438780560c6.tar.xz
Makefile, mkdeps.sh: Enforce JS->native dependency
Assert that we'll always have the `src/napi-sqlite.node` binary ready by the time we get to any JavaScript file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bc36ce2..cbb92d5 100644
--- a/Makefile
+++ b/Makefile
@@ -132,6 +132,7 @@ $(sources.o) $(sources.lo) $(sources.to): src/config.h Makefile deps.mk
tests/tests-lib.o: tests/tests-lib.h src/config.h Makefile deps.mk
$(sources.to): tests/tests-lib.h
$(sources.ta): tests/tests-lib.o
+$(sources.js) $(tests.js): src/napi-sqlite.node
src/index.js:
ln -fs api.js $@