summaryrefslogtreecommitdiffhomepage
path: root/examples/web/Makefile
diff options
context:
space:
mode:
authorRay <[email protected]>2020-01-30 16:35:46 +0100
committerRay <[email protected]>2020-01-30 16:35:46 +0100
commite3556761b321053b37f3364f3b32935c71470324 (patch)
tree7b007f2430e24e554751849f994a76c418125e66 /examples/web/Makefile
parent06da0c6d320feaac62c4cb356a01a5d666e8178d (diff)
downloadraylib.com-e3556761b321053b37f3364f3b32935c71470324.tar.gz
raylib.com-e3556761b321053b37f3364f3b32935c71470324.zip
Review some web examples
Diffstat (limited to 'examples/web/Makefile')
-rw-r--r--examples/web/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/examples/web/Makefile b/examples/web/Makefile
index eab98ed..f5a08a9 100644
--- a/examples/web/Makefile
+++ b/examples/web/Makefile
@@ -570,7 +570,7 @@ core/core_vr_simulator: core/core_vr_simulator.c
# compile [core] example - loading thread
core/core_loading_thread: core/core_loading_thread.c
- $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -lpthread -D$(PLATFORM) -s USE_PTHREADS=1
+ $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -static -lpthread -D$(PLATFORM) -s USE_PTHREADS=1
# compile [shapes] example - basic shapes usage (rectangle, circle, ...)
shapes/shapes_basic_shapes: shapes/shapes_basic_shapes.c
@@ -649,6 +649,7 @@ textures/textures_image_loading: textures/textures_image_loading.c
# compile [textures] example - texture image drawing
textures/textures_image_drawing: textures/textures_image_drawing.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
+ --preload-file textures/resources/custom_jupiter_crash.png@resources/custom_jupiter_crash.png \
--preload-file textures/resources/parrots.png@resources/parrots.png \
--preload-file textures/resources/cat.png@resources/cat.png
@@ -727,14 +728,14 @@ text/text_font_spritefont: text/text_font_spritefont.c
# compile [text] example - font loading
text/text_font_loading: text/text_font_loading.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -s TOTAL_MEMORY=67108864 \
- --preload-file text/resources/KAISG.ttf@resources/KAISG.ttf
+ --preload-file text/resources/pixantiqua.fnt@resources/pixantiqua.fnt \
+ --preload-file text/resources/pixantiqua.png@resources/pixantiqua.png \
+ --preload-file text/resources/pixantiqua.ttf@resources/pixantiqua.ttf
# compile [text] example - font filters
text/text_font_filters: text/text_font_filters.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -s TOTAL_MEMORY=67108864 \
- --preload-file text/resources/pixantiqua.fnt@resources/pixantiqua.fnt \
- --preload-file text/resources/pixantiqua.png@resources/pixantiqua.png \
- --preload-file text/resources/pixantiqua.ttf@resources/pixantiqua.ttf
+ --preload-file text/resources/KAISG.ttf@resources/KAISG.ttf
text/text_font_sdf: text/text_font_sdf.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -s TOTAL_MEMORY=67108864 \
@@ -946,7 +947,7 @@ audio/audio_sound_loading: audio/audio_sound_loading.c
audio/audio_multichannel_sound: audio/audio_multichannel_sound.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
- --preload-file audio/resources/weird.wav@resources/weird.wav \
+ --preload-file audio/resources/sound.wav@resources/sound.wav \
--preload-file audio/resources/tanatana.ogg@resources/tanatana.ogg
# compile [physac] example - physics demo