commit 57bc5859707882c32f3459e8bd9542cf69c6ea08 parent c0da7956d7ec3de9e29a3d87442c323d41c45195 Author: Sophie <info@soophie.de> Date: Sun, 15 Dec 2024 21:54:38 +0000 fix: Fixed Makefile Diffstat:
M | Makefile | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile @@ -6,11 +6,12 @@ build: src/*.c mkdir -p ./build $(CC) -o ./build/freezo $(CFLAGS) $(LIBS) $^ +web: src/*.c + mkdir -p ./build + emcc -o ./build/freezo.js $^ -Os -Wall ../raylib/src/libraylib.a -I. -L. -Lpath-to-libraylib-a -s USE_GLFW=3 -DPLATFORM_WEB --preload-file ./assets + run: build ./build/freezo -web: src/*.c - emcc -o ./build/freezo.html $^ -Os -Wall ../raylib/src/libraylib.a -I. -L. -Lpath-to-libraylib-a -s USE_GLFW=3 -DPLATFORM_WEB --preload-file ./assets - clean: rm -rf ./build