so://phie

freezo

A retro platform game
git clone git://soophie.de/freezo

fix: Fixed Makefile


commit: 57bc5859707882c32f3459e8bd9542cf69c6ea08
parent: c0da7956d7ec3de9e29a3d87442c323d41c45195
author: Sophie <info@soophie.de>
time: 2024-12-15 22:54

diff --git a/Makefile b/Makefile

index 93f8f8e..8840bd0 100644

--- a/Makefile

+++ b/Makefile

1@@ -6,11 +6,12 @@ build: src/*.c

2 mkdir -p ./build

3 $(CC) -o ./build/freezo $(CFLAGS) $(LIBS) $^

4

5+web: src/*.c

6+ mkdir -p ./build

7+ 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

8+

9 run: build

10 ./build/freezo

11

12-web: src/*.c

13- 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

14-

15 clean:

16 rm -rf ./build

17

18