Add crossweb
This commit is contained in:
parent
f6efad8263
commit
32e71cd94e
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -20,3 +20,5 @@ core.cdb
|
||||||
primum.exe
|
primum.exe
|
||||||
core.cdb.h
|
core.cdb.h
|
||||||
jsc
|
jsc
|
||||||
|
.DS_Store
|
||||||
|
primum.html
|
7
Makefile
7
Makefile
|
@ -300,7 +300,6 @@ core.cdb: packer $(CORE)
|
||||||
chmod 644 out.cdb
|
chmod 644 out.cdb
|
||||||
mv out.cdb core.cdb
|
mv out.cdb core.cdb
|
||||||
|
|
||||||
|
|
||||||
packer: tools/packer.c tools/libcdb.a
|
packer: tools/packer.c tools/libcdb.a
|
||||||
cc $^ -I$(CDB) -o packer
|
cc $^ -I$(CDB) -o packer
|
||||||
|
|
||||||
|
@ -323,10 +322,14 @@ crossmac:
|
||||||
mv primum primum_x86_64
|
mv primum primum_x86_64
|
||||||
lipo primum_arm64 primum_x86_64 -create -output primum
|
lipo primum_arm64 primum_x86_64 -create -output primum
|
||||||
|
|
||||||
|
crossweb:
|
||||||
|
make packer
|
||||||
|
make CC=emcc
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@echo Cleaning project
|
@echo Cleaning project
|
||||||
rm -rf bin dist
|
rm -rf bin dist
|
||||||
rm -f shaders/*.sglsl.h shaders/*.metal core.cdb jso cdb packer TAGS source/engine/core.cdb.h tools/libcdb.a $(CDB)/libcdb.a
|
rm -f source/shaders/*.h core.cdb jso cdb packer TAGS source/engine/core.cdb.h tools/libcdb.a $(CDB)/libcdb.a
|
||||||
rm -f $(CDB)/*.o
|
rm -f $(CDB)/*.o
|
||||||
@make -C quickjs clean
|
@make -C quickjs clean
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue