Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

82 рядки
2.3 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. if BUILD_TUTORIAL
  3. noinst_PROGRAMS = $(tutorials)
  4. endif
  5. tutorials =
  6. if LOL_USE_GL
  7. tutorials += 01_triangle 02_cube 03_noise 04_texture 05_easymesh \
  8. 06_sprite 07_input 08_fbo 09_sound 11_fractal \
  9. 12_voronoi 13_shader_builder 14_lol_lua 15_lolimgui
  10. endif
  11. tutorials += 16_movie
  12. 01_triangle_SOURCES = 01_triangle.cpp 01_triangle.lolfx
  13. 01_triangle_CPPFLAGS = $(AM_CPPFLAGS)
  14. 01_triangle_DEPENDENCIES = @LOL_DEPS@
  15. 02_cube_SOURCES = 02_cube.cpp 02_cube.lolfx
  16. 02_cube_CPPFLAGS = $(AM_CPPFLAGS)
  17. 02_cube_DEPENDENCIES = @LOL_DEPS@
  18. 03_noise_SOURCES = 03_noise.cpp 03_noise.lolfx
  19. 03_noise_CPPFLAGS = $(AM_CPPFLAGS)
  20. 03_noise_DEPENDENCIES = @LOL_DEPS@
  21. 04_texture_SOURCES = 04_texture.cpp 04_texture.lolfx
  22. 04_texture_CPPFLAGS = $(AM_CPPFLAGS)
  23. 04_texture_DEPENDENCIES = @LOL_DEPS@
  24. 05_easymesh_SOURCES = 05_easymesh.cpp
  25. 05_easymesh_CPPFLAGS = $(AM_CPPFLAGS)
  26. 05_easymesh_DEPENDENCIES = @LOL_DEPS@
  27. 06_sprite_SOURCES = 06_sprite.cpp 06_sprite.png
  28. 06_sprite_CPPFLAGS = $(AM_CPPFLAGS)
  29. 06_sprite_DEPENDENCIES = @LOL_DEPS@
  30. 06_sprite_LDFLAGS = $(AM_LDFLAGS)
  31. if LOL_USE_EMSCRIPTEN
  32. 06_sprite_LDFLAGS += --preload-file 06_sprite.png
  33. endif
  34. 07_input_SOURCES = 07_input.cpp 07_input.lolfx
  35. 07_input_CPPFLAGS = $(AM_CPPFLAGS)
  36. 07_input_DEPENDENCIES = @LOL_DEPS@
  37. 08_fbo_SOURCES = 08_fbo.cpp 08_fbo.lolfx
  38. 08_fbo_CPPFLAGS = $(AM_CPPFLAGS)
  39. 08_fbo_DEPENDENCIES = @LOL_DEPS@
  40. 09_sound_SOURCES = 09_sound.cpp
  41. 09_sound_CPPFLAGS = $(AM_CPPFLAGS)
  42. 09_sound_DEPENDENCIES = @LOL_DEPS@
  43. 11_fractal_SOURCES = 11_fractal.cpp 11_fractal.lolfx
  44. 11_fractal_CPPFLAGS = $(AM_CPPFLAGS)
  45. 11_fractal_DEPENDENCIES = @LOL_DEPS@
  46. 12_voronoi_SOURCES = 12_voronoi.cpp 12_voronoi.lolfx \
  47. 12_voronoi_distance.lolfx 12_voronoi_setup.lolfx \
  48. 12_texture_to_screen.lolfx 12_distance.lolfx
  49. 12_voronoi_CPPFLAGS = $(AM_CPPFLAGS)
  50. 12_voronoi_DEPENDENCIES = @LOL_DEPS@
  51. 13_shader_builder_SOURCES = 13_shader_builder.cpp
  52. 13_shader_builder_CPPFLAGS = $(AM_CPPFLAGS)
  53. 13_shader_builder_DEPENDENCIES = @LOL_DEPS@
  54. 14_lol_lua_SOURCES = 14_lol_lua.cpp
  55. 14_lol_lua_CPPFLAGS = $(AM_CPPFLAGS)
  56. 14_lol_lua_DEPENDENCIES = @LOL_DEPS@
  57. 15_lolimgui_SOURCES = 15_lolimgui.cpp
  58. 15_lolimgui_CPPFLAGS = $(AM_CPPFLAGS)
  59. 15_lolimgui_DEPENDENCIES = @LOL_DEPS@
  60. 16_movie_SOURCES = 16_movie.cpp
  61. 16_movie_CPPFLAGS = $(AM_CPPFLAGS)
  62. 16_movie_DEPENDENCIES = @LOL_DEPS@