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.

54 lines
1.3KB

  1. #!/usr/bin/make -f
  2. # Makefile for DISTRHO Plugins #
  3. # ---------------------------- #
  4. # Created by falkTX
  5. #
  6. include dpf/Makefile.base.mk
  7. all: dgl plugins gen
  8. # --------------------------------------------------------------
  9. dgl:
  10. $(MAKE) SKIP_NANOVG=true -C dpf/dgl opengl
  11. plugins: dgl
  12. $(MAKE) all -C plugins/Cardinal
  13. ifneq ($(CROSS_COMPILING),true)
  14. gen: plugins dpf/utils/lv2_ttl_generator
  15. @$(CURDIR)/dpf/utils/generate-ttl.sh
  16. ifeq ($(MACOS),true)
  17. @$(CURDIR)/dpf/utils/generate-vst-bundles.sh
  18. endif
  19. dpf/utils/lv2_ttl_generator:
  20. $(MAKE) -C dpf/utils/lv2-ttl-generator
  21. else
  22. gen:
  23. endif
  24. # --------------------------------------------------------------
  25. clean:
  26. $(MAKE) clean -C dpf/dgl
  27. $(MAKE) clean -C dpf/utils/lv2-ttl-generator
  28. $(MAKE) clean -C plugins/Cardinal
  29. rm -rf bin build
  30. rm -rf plugins/Cardinal/Rack/dep/bin
  31. rm -rf plugins/Cardinal/Rack/dep/include
  32. rm -rf plugins/Cardinal/Rack/dep/lib
  33. rm -rf plugins/Cardinal/Rack/dep/share
  34. rm -rf plugins/Cardinal/Rack/dep/curl-7.66.0
  35. rm -rf plugins/Cardinal/Rack/dep/glew-2.1.0
  36. rm -rf plugins/Cardinal/Rack/dep/jansson-2.12
  37. rm -rf plugins/Cardinal/Rack/dep/libarchive-3.4.3
  38. rm -rf plugins/Cardinal/Rack/dep/openssl-1.1.1d
  39. rm -rf plugins/Cardinal/Rack/dep/speexdsp-SpeexDSP-1.2rc3
  40. rm -rf plugins/Cardinal/Rack/dep/zstd-1.4.5
  41. # --------------------------------------------------------------
  42. .PHONY: plugins