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.

52 lines
1.1KB

  1. #!/usr/bin/make -f
  2. # Makefile for DISTRHO Plugins #
  3. # ---------------------------- #
  4. # Created by falkTX
  5. #
  6. include dpf/Makefile.base.mk
  7. all: cardinal deps dgl plugins gen
  8. # --------------------------------------------------------------
  9. cardinal: deps dgl plugins
  10. $(MAKE) all -C src
  11. deps:
  12. $(MAKE) all -C deps
  13. dgl:
  14. $(MAKE) USE_NANOVG_FBO=true USE_RGBA=true -C dpf/dgl opengl
  15. # $(MAKE) opengl -C dpf/dgl USE_NANOVG_FBO=true USE_RGBA=true
  16. plugins: deps
  17. $(MAKE) all -C plugins
  18. ifneq ($(CROSS_COMPILING),true)
  19. gen: cardinal dpf/utils/lv2_ttl_generator
  20. @$(CURDIR)/dpf/utils/generate-ttl.sh
  21. ifeq ($(MACOS),true)
  22. @$(CURDIR)/dpf/utils/generate-vst-bundles.sh
  23. endif
  24. dpf/utils/lv2_ttl_generator:
  25. $(MAKE) -C dpf/utils/lv2-ttl-generator
  26. else
  27. gen:
  28. endif
  29. # --------------------------------------------------------------
  30. clean:
  31. $(MAKE) clean -C deps
  32. $(MAKE) clean -C dpf/dgl
  33. $(MAKE) clean -C dpf/utils/lv2-ttl-generator
  34. $(MAKE) clean -C plugins
  35. $(MAKE) clean -C src
  36. rm -rf bin build
  37. # --------------------------------------------------------------
  38. .PHONY: deps plugins