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.

64 lines
1.3KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla-engine #
  3. # ------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_CXX_FLAGS += $(RTAUDIO_FLAGS)
  9. BUILD_CXX_FLAGS += $(RTMIDI_FLAGS)
  10. # --------------------------------------------------------------
  11. OBJSp = \
  12. CarlaEngine.cpp.o \
  13. CarlaEngineOsc.cpp.o \
  14. CarlaEngineThread.cpp.o \
  15. CarlaEngineNative.cpp.o
  16. OBJS = $(OBJSp) \
  17. CarlaEngineJack.cpp.o \
  18. CarlaEngineRtAudio.cpp.o
  19. # ifeq ($(HAVE_JUCE),true)
  20. # OBJS += \
  21. # CarlaEngineJuce.cpp.o
  22. # endif
  23. HEADERS = \
  24. ../CarlaBackend.h ../CarlaEngine.hpp ../CarlaPlugin.hpp \
  25. CarlaEngineInternal.hpp CarlaEngineOsc.hpp CarlaEngineThread.hpp
  26. TARGET = ../libcarla_engine.a
  27. TARGETp = ../libcarla_engine_plugin.a
  28. # --------------------------------------------------------------
  29. all: $(TARGET) $(TARGETp)
  30. # --------------------------------------------------------------
  31. %.cpp.o: %.cpp $(HEADERS)
  32. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  33. $(TARGET): $(OBJS)
  34. $(RM) $@
  35. $(AR) crs $@ $^
  36. $(TARGETp): $(OBJSp)
  37. $(RM) $@
  38. $(AR) crs $@ $^
  39. # --------------------------------------------------------------
  40. clean:
  41. $(RM) $(OBJS) $(OBJSp) $(TARGET) $(TARGETp)
  42. debug:
  43. $(MAKE) DEBUG=true
  44. # --------------------------------------------------------------