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.

60 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. AuPlugin.cpp.o \
  18. CsoundPlugin.cpp.o \
  19. FluidSynthPlugin.cpp.o \
  20. LinuxSamplerPlugin.cpp.o \
  21. JucePlugin.cpp.o
  22. HEADERS = \
  23. ../CarlaBackend.h ../CarlaEngine.hpp ../CarlaPlugin.hpp \
  24. CarlaPluginInternal.hpp CarlaPluginThread.hpp
  25. TARGET = ../carla_plugin.a
  26. # --------------------------------------------------------------
  27. all: $(TARGET)
  28. # --------------------------------------------------------------
  29. %.cpp.o: %.cpp $(HEADERS)
  30. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  31. FluidSynthPlugin.cpp.o: FluidSynthPlugin.cpp $(HEADERS)
  32. $(CXX) $< $(BUILD_CXX_FLAGS) $(FLUIDSYNTH_FLAGS) -c -o $@
  33. LinuxSamplerPlugin.cpp.o: LinuxSamplerPlugin.cpp $(HEADERS)
  34. $(CXX) $< $(BUILD_CXX_FLAGS) $(LINUXSAMPLER_FLAGS) -c -o $@
  35. $(TARGET): $(OBJS)
  36. $(RM) $@
  37. $(AR) crs $@ $^
  38. # --------------------------------------------------------------
  39. clean:
  40. $(RM) $(OBJS) $(TARGET)
  41. debug:
  42. $(MAKE) DEBUG=true
  43. # --------------------------------------------------------------