Audio plugin host https://kx.studio/carla
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.

38 lines
1.0KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla modules #
  3. # -------------------------- #
  4. # Created by falkTX
  5. #
  6. ifeq ($(CWD),)
  7. $(error CWD not defined)
  8. endif
  9. ifeq ($(MODULENAME),)
  10. $(error MODULENAME not defined)
  11. endif
  12. include $(CWD)/Makefile.mk
  13. ifeq ($(USING_JUCE),true)
  14. BUILD_CXX_FLAGS += -DJUCE_APP_CONFIG_HEADER='<AppConfig.h>'
  15. endif
  16. # ---------------------------------------------------------------------------------------------------------------------
  17. BINDIR := $(CWD)/../bin
  18. ifeq ($(DEBUG),true)
  19. OBJDIR := $(CWD)/../build/$(MODULENAME)/Debug
  20. MODULEDIR := $(CWD)/../build/modules/Debug
  21. else
  22. OBJDIR := $(CWD)/../build/$(MODULENAME)/Release
  23. MODULEDIR := $(CWD)/../build/modules/Release
  24. endif
  25. # ---------------------------------------------------------------------------------------------------------------------
  26. BUILD_C_FLAGS += -I. -I$(CWD)/includes
  27. BUILD_CXX_FLAGS += -I. -I$(CWD)/includes -I$(CWD)/utils
  28. # ---------------------------------------------------------------------------------------------------------------------