use quickjs git submodule

This commit is contained in:
John Alanbrook 2024-03-03 17:04:37 -06:00
parent 89fe5e4f34
commit 4985b66565
3 changed files with 5 additions and 1 deletions

3
.gitmodules vendored
View file

@ -7,3 +7,6 @@
[submodule "source/engine/thirdparty/cgltf"] [submodule "source/engine/thirdparty/cgltf"]
path = source/engine/thirdparty/cgltf path = source/engine/thirdparty/cgltf
url = https://github.com/jkuhlmann/cgltf.git url = https://github.com/jkuhlmann/cgltf.git
[submodule "quickjs"]
path = quickjs
url = https://github.com/bellard/quickjs.git

View file

@ -256,7 +256,7 @@ input.md: $(INPUTMD)
$(BIN)/libquickjs.a: $(QUICKJS_O) $(BIN)/libquickjs.a: $(QUICKJS_O)
make -C quickjs clean make -C quickjs clean
make -C quickjs SYSRT=$(SYSRT) TTARGET=$(TTARGET) ARCH=$(ARCH) DBG=$(DBG) OPT=$(OPT) AR=$(AR) OS=$(OS) libquickjs.a libquickjs.lto.a HOST_CC=$(CC) LEAK=$(LEAK) make -C quickjs SYSRT=$(SYSRT) TTARGET=$(TTARGET) ARCH=$(ARCH) DBG=$(DBG) OPT=$(OPT) AR=$(AR) OS=$(OS) libquickjs.a HOST_CC=$(CC) LEAK=$(LEAK)
@mkdir -p $(BIN) @mkdir -p $(BIN)
cp -rf quickjs/libquickjs.* $(BIN) cp -rf quickjs/libquickjs.* $(BIN)

1
quickjs Submodule

@ -0,0 +1 @@
Subproject commit 6a89d7c27099be84e5312a7ec73205d6a7abe1b4