complete emscripten port

https://wiki.libsdl.org/SDL2/README/emscripten
was still up-to-date
This commit is contained in:
Jakob Hördt 2024-08-06 00:49:10 +02:00
parent 78471c21f0
commit 8a3913c74c
4 changed files with 110 additions and 76 deletions

2
build.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
clang++ -Wall -std=c++26 -O2 -g -o main main.cpp -fuse-ld=mold `pkg-config --libs --cflags sdl2`