diff options
| author | Ray <raysan5@gmail.com> | 2017-04-05 00:29:39 +0200 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2017-04-05 00:29:39 +0200 |
| commit | c47b04a2c673f3073e2cc5a47d5aa1bce029e93e (patch) | |
| tree | 07eefb8740d05754dcd875f49ea193eee1c79555 /docs/examples/web/makefile | |
| parent | fdf8501e81f15de54af09580449dd8add42fc96e (diff) | |
| download | raylib-c47b04a2c673f3073e2cc5a47d5aa1bce029e93e.tar.gz raylib-c47b04a2c673f3073e2cc5a47d5aa1bce029e93e.zip | |
Working on web examples
Diffstat (limited to 'docs/examples/web/makefile')
| -rw-r--r-- | docs/examples/web/makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/examples/web/makefile b/docs/examples/web/makefile index df711f80..c9028138 100644 --- a/docs/examples/web/makefile +++ b/docs/examples/web/makefile @@ -227,6 +227,7 @@ EXAMPLES = \ core_3d_camera_first_person \ core_2d_camera \ core_world_screen \ + core_vr_simulator \ shapes_logo_raylib \ shapes_basic_shapes \ shapes_colors_palette \ @@ -291,11 +292,7 @@ core_mouse_wheel: core_mouse_wheel.c # compile [core] example - gamepad input core_input_gamepad: core_input_gamepad.c -ifeq ($(PLATFORM), $(filter $(PLATFORM),PLATFORM_DESKTOP PLATFORM_RPI)) - $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS) -else - @echo core_input_gamepad: Example not supported on PLATFORM_ANDROID or PLATFORM_WEB -endif + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS) --preload-file resources/ps3.png --preload-file resources/xbox.png # compile [core] example - generate random values core_random_values: core_random_values.c @@ -350,8 +347,8 @@ core_world_screen: core_world_screen.c $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS) # compile [core] example - oculus rift -#core_oculus_rift: core_oculus_rift.c -# $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS) +core_vr_simulator: core_vr_simulator.c + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS) # compile [shapes] example - raylib logo (with basic shapes) shapes_logo_raylib: shapes_logo_raylib.c |
