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
|
||||
mkdir -p web
|
||||
$(WEB_SEXC) $< -c -o $@ -- \
|
||||
$(CFLAGS) $(INCLUDES)
|
||||
$(WEB_SEXC) $< -c -o $@ -- $(CFLAGS) $(INCLUDES)
|
||||
|
||||
web/libraylib.web.a:
|
||||
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_SEXC) main.sex -o $@ -- \
|
||||
-I$(RAYLIB_SRC) \
|
||||
$(INCLUDES) \
|
||||
$(WEB_OBJECTS) \
|
||||
./web/libraylib.web.a \
|
||||
$(EMFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user