DISTRHO Plugin Framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
1.7KB

  1. #!/usr/bin/make -f
  2. # Makefile for DPF #
  3. # ---------------- #
  4. # Created by falkTX
  5. #
  6. include Makefile.base.mk
  7. all: dgl examples gen
  8. # --------------------------------------------------------------
  9. ifneq ($(CROSS_COMPILING),true)
  10. CAN_GENERATE_TTL = true
  11. else ifneq ($(EXE_WRAPPER),)
  12. CAN_GENERATE_TTL = true
  13. endif
  14. dgl:
  15. ifeq ($(HAVE_DGL),true)
  16. $(MAKE) -C dgl
  17. endif
  18. examples: dgl
  19. $(MAKE) all -C examples/CVPort
  20. $(MAKE) all -C examples/FileHandling
  21. $(MAKE) all -C examples/Info
  22. $(MAKE) all -C examples/Latency
  23. $(MAKE) all -C examples/Meters
  24. $(MAKE) all -C examples/Metronome
  25. $(MAKE) all -C examples/MidiThrough
  26. $(MAKE) all -C examples/Parameters
  27. $(MAKE) all -C examples/SendNote
  28. $(MAKE) all -C examples/States
  29. ifeq ($(HAVE_CAIRO),true)
  30. $(MAKE) all -C examples/CairoUI
  31. endif
  32. ifeq ($(HAVE_DGL),true)
  33. $(MAKE) all -C examples/EmbedExternalUI
  34. endif
  35. ifeq ($(CAN_GENERATE_TTL),true)
  36. gen: examples utils/lv2_ttl_generator
  37. @$(CURDIR)/utils/generate-ttl.sh
  38. utils/lv2_ttl_generator:
  39. $(MAKE) -C utils/lv2-ttl-generator
  40. else
  41. gen:
  42. endif
  43. tests: dgl
  44. $(MAKE) -C tests
  45. # --------------------------------------------------------------
  46. clean:
  47. $(MAKE) clean -C dgl
  48. $(MAKE) clean -C examples/CVPort
  49. $(MAKE) clean -C examples/CairoUI
  50. $(MAKE) clean -C examples/EmbedExternalUI
  51. $(MAKE) clean -C examples/FileHandling
  52. $(MAKE) clean -C examples/Info
  53. $(MAKE) clean -C examples/Latency
  54. $(MAKE) clean -C examples/Meters
  55. $(MAKE) clean -C examples/Metronome
  56. $(MAKE) clean -C examples/MidiThrough
  57. $(MAKE) clean -C examples/Parameters
  58. $(MAKE) clean -C examples/SendNote
  59. $(MAKE) clean -C examples/States
  60. $(MAKE) clean -C utils/lv2-ttl-generator
  61. rm -rf bin build
  62. # --------------------------------------------------------------
  63. .PHONY: dgl examples tests