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

84 рядки
2.4 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_lua 15_gui
  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_LDFLAGS = $(AM_LDFLAGS) @LOL_LUA_DEPS@
  27. 05_easymesh_DEPENDENCIES = @LOL_DEPS@ @LOL_LUA_DEPS@
  28. 06_sprite_SOURCES = 06_sprite.cpp 06_sprite.png
  29. 06_sprite_CPPFLAGS = $(AM_CPPFLAGS)
  30. 06_sprite_DEPENDENCIES = @LOL_DEPS@
  31. 06_sprite_LDFLAGS = $(AM_LDFLAGS)
  32. if LOL_USE_EMSCRIPTEN
  33. 06_sprite_LDFLAGS += --preload-file 06_sprite.png
  34. endif
  35. 07_input_SOURCES = 07_input.cpp 07_input.lolfx
  36. 07_input_CPPFLAGS = $(AM_CPPFLAGS)
  37. 07_input_DEPENDENCIES = @LOL_DEPS@
  38. 08_fbo_SOURCES = 08_fbo.cpp 08_fbo.lolfx
  39. 08_fbo_CPPFLAGS = $(AM_CPPFLAGS)
  40. 08_fbo_DEPENDENCIES = @LOL_DEPS@
  41. 09_sound_SOURCES = 09_sound.cpp
  42. 09_sound_CPPFLAGS = $(AM_CPPFLAGS)
  43. 09_sound_DEPENDENCIES = @LOL_DEPS@
  44. 11_fractal_SOURCES = 11_fractal.cpp 11_fractal.lolfx
  45. 11_fractal_CPPFLAGS = $(AM_CPPFLAGS)
  46. 11_fractal_DEPENDENCIES = @LOL_DEPS@
  47. 12_voronoi_SOURCES = 12_voronoi.cpp 12_voronoi.lolfx \
  48. 12_voronoi_distance.lolfx 12_voronoi_setup.lolfx \
  49. 12_texture_to_screen.lolfx 12_distance.lolfx
  50. 12_voronoi_CPPFLAGS = $(AM_CPPFLAGS)
  51. 12_voronoi_DEPENDENCIES = @LOL_DEPS@
  52. 13_shader_builder_SOURCES = 13_shader_builder.cpp
  53. 13_shader_builder_CPPFLAGS = $(AM_CPPFLAGS)
  54. 13_shader_builder_DEPENDENCIES = @LOL_DEPS@
  55. 14_lua_SOURCES = 14_lua.cpp
  56. 14_lua_CPPFLAGS = $(AM_CPPFLAGS)
  57. 14_lua_LDFLAGS = $(AM_LDFLAGS) @LOL_LUA_DEPS@
  58. 14_lua_DEPENDENCIES = @LOL_DEPS@ @LOL_LUA_DEPS@
  59. 15_gui_SOURCES = 15_gui.cpp
  60. 15_gui_CPPFLAGS = $(AM_CPPFLAGS)
  61. 15_gui_DEPENDENCIES = @LOL_DEPS@
  62. 16_movie_SOURCES = 16_movie.cpp
  63. 16_movie_CPPFLAGS = $(AM_CPPFLAGS)
  64. 16_movie_DEPENDENCIES = @LOL_DEPS@