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.

59 lines
1.3KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla-plugin #
  3. # ------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../Makefile.mk
  7. # --------------------------------------------------------------
  8. OBJS = \
  9. CarlaPlugin.cpp.o \
  10. CarlaPluginThread.cpp.o \
  11. BridgePlugin.cpp.o \
  12. NativePlugin.cpp.o \
  13. LadspaPlugin.cpp.o \
  14. DssiPlugin.cpp.o \
  15. Lv2Plugin.cpp.o \
  16. VstPlugin.cpp.o \
  17. CsoundPlugin.cpp.o \
  18. FluidSynthPlugin.cpp.o \
  19. LinuxSamplerPlugin.cpp.o \
  20. JucePlugin.cpp.o
  21. HEADERS = \
  22. ../CarlaBackend.h ../CarlaEngine.hpp ../CarlaPlugin.hpp \
  23. CarlaPluginInternal.hpp CarlaPluginThread.hpp
  24. TARGET = ../carla_plugin.a
  25. # --------------------------------------------------------------
  26. all: $(TARGET)
  27. # --------------------------------------------------------------
  28. %.cpp.o: %.cpp $(HEADERS)
  29. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  30. FluidSynthPlugin.cpp.o: FluidSynthPlugin.cpp $(HEADERS)
  31. $(CXX) $< $(BUILD_CXX_FLAGS) $(FLUIDSYNTH_FLAGS) -c -o $@
  32. LinuxSamplerPlugin.cpp.o: LinuxSamplerPlugin.cpp $(HEADERS)
  33. $(CXX) $< $(BUILD_CXX_FLAGS) $(LINUXSAMPLER_FLAGS) -c -o $@
  34. $(TARGET): $(OBJS)
  35. $(RM) $@
  36. $(AR) crs $@ $^
  37. # --------------------------------------------------------------
  38. clean:
  39. $(RM) $(OBJS) $(TARGET)
  40. debug:
  41. $(MAKE) DEBUG=true
  42. # --------------------------------------------------------------