fix web build
This commit is contained in:
5
Makefile
5
Makefile
@@ -61,8 +61,7 @@ WEB_OBJECTS := web/menu.o web/game.o web/tmx.o web/audio.o
|
|||||||
|
|
||||||
web/%.o: %.sex
|
web/%.o: %.sex
|
||||||
mkdir -p web
|
mkdir -p web
|
||||||
$(WEB_SEXC) $< -c -o $@ -- \
|
$(WEB_SEXC) $< -c -o $@ -- $(CFLAGS) $(INCLUDES)
|
||||||
$(CFLAGS) $(INCLUDES)
|
|
||||||
|
|
||||||
web/libraylib.web.a:
|
web/libraylib.web.a:
|
||||||
mkdir -p web
|
mkdir -p web
|
||||||
@@ -76,7 +75,7 @@ web/libraylib.web.a:
|
|||||||
|
|
||||||
web/index.html: $(WEB_OBJECTS) main.sex shell.html web/libraylib.web.a
|
web/index.html: $(WEB_OBJECTS) main.sex shell.html web/libraylib.web.a
|
||||||
$(WEB_SEXC) main.sex -o $@ -- \
|
$(WEB_SEXC) main.sex -o $@ -- \
|
||||||
-I$(RAYLIB_SRC) \
|
$(INCLUDES) \
|
||||||
$(WEB_OBJECTS) \
|
$(WEB_OBJECTS) \
|
||||||
./web/libraylib.web.a \
|
./web/libraylib.web.a \
|
||||||
$(EMFLAGS)
|
$(EMFLAGS)
|
||||||
|
|||||||
Reference in New Issue
Block a user