@@ -350,7 +350,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
350350endif
351351
352352# Define all object files required
353- EXAMPLES = \
353+ CORE = \
354354 core/core_basic_window \
355355 core/core_input_keys \
356356 core/core_input_mouse \
@@ -372,7 +372,9 @@ EXAMPLES = \
372372 core/core_scissor_test \
373373 core/core_storage_values \
374374 core/core_vr_simulator \
375- core/core_loading_thread \
375+ core/core_loading_thread
376+
377+ SHAPES = \
376378 shapes/shapes_basic_shapes \
377379 shapes/shapes_bouncing_ball \
378380 shapes/shapes_colors_palette \
@@ -387,7 +389,9 @@ EXAMPLES = \
387389 shapes/shapes_easings_rectangle_array \
388390 shapes/shapes_draw_ring \
389391 shapes/shapes_draw_circle_sector \
390- shapes/shapes_draw_rectangle_rounded \
392+ shapes/shapes_draw_rectangle_rounded
393+
394+ TEXTURES = \
391395 textures/textures_logo_raylib \
392396 textures/textures_mouse_painting \
393397 textures/textures_rectangle \
@@ -404,7 +408,9 @@ EXAMPLES = \
404408 textures/textures_background_scrolling \
405409 textures/textures_sprite_button \
406410 textures/textures_sprite_explosion \
407- textures/textures_bunnymark \
411+ textures/textures_bunnymark
412+
413+ TEXT = \
408414 text/text_raylib_fonts \
409415 text/text_font_spritefont \
410416 text/text_font_loading \
@@ -414,7 +420,9 @@ EXAMPLES = \
414420 text/text_input_box \
415421 text/text_writing_anim \
416422 text/text_rectangle_bounds \
417- text/text_unicode \
423+ text/text_unicode
424+
425+ MODELS = \
418426 models/models_animation \
419427 models/models_billboard \
420428 models/models_box_collisions \
@@ -430,7 +438,9 @@ EXAMPLES = \
430438 models/models_skybox \
431439 models/models_yaw_pitch_roll \
432440 models/models_heightmap \
433- models/models_waving_cubes \
441+ models/models_waving_cubes
442+
443+ SHADERS = \
434444 shaders/shaders_model_shader \
435445 shaders/shaders_shapes_textures \
436446 shaders/shaders_custom_uniform \
@@ -443,12 +453,16 @@ EXAMPLES = \
443453 shaders/shaders_eratosthenes \
444454 shaders/shaders_basic_lighting \
445455 shaders/shaders_fog \
446- shaders/shaders_simple_mask \
456+ shaders/shaders_simple_mask
457+
458+ AUDIO = \
447459 audio/audio_module_playing \
448460 audio/audio_music_stream \
449461 audio/audio_raw_stream \
450462 audio/audio_sound_loading \
451- audio/audio_multichannel_sound \
463+ audio/audio_multichannel_sound
464+
465+ PHYSICS = \
452466 physics/physics_demo \
453467 physics/physics_friction \
454468 physics/physics_movement \
@@ -459,7 +473,16 @@ EXAMPLES = \
459473CURRENT_MAKEFILE = $(lastword $(MAKEFILE_LIST ) )
460474
461475# Default target entry
462- all : $(EXAMPLES )
476+ all : $(CORE ) $(SHAPES ) $(TEXT ) $(TEXTURES ) $(MODELS ) $(SHADERS ) $(AUDIO ) $(PHYSICS )
477+
478+ core : $(CORE )
479+ shapes : $(SHAPES )
480+ text : $(TEXT )
481+ textures : $(TEXTURES )
482+ models : $(MODELS )
483+ shaders : $(SHADERS )
484+ audio : $(AUDIO )
485+ physics : $(PHYSICS )
463486
464487# Generic compilation pattern
465488# NOTE: Examples must be ready for Android compilation!
0 commit comments