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.

Makefile 2.3KB

10 years ago
10 years ago
11 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #!/usr/bin/make -f
  2. # Makefile for carla-engine #
  3. # ------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../Makefile.mk
  7. # --------------------------------------------------------------
  8. OBJS = \
  9. CarlaEngine.cpp.o \
  10. CarlaEngineInternal.cpp.o \
  11. CarlaEngineOsc.cpp.o \
  12. CarlaEngineThread.cpp.o
  13. OBJSa = $(OBJS) \
  14. CarlaEngineJack.cpp.o \
  15. CarlaEngineRtAudio.cpp.o
  16. ifeq ($(HAVE_JUCE),true)
  17. OBJSa += \
  18. CarlaEngineJuce.cpp.o
  19. endif
  20. ifneq ($(WIN32),true)
  21. OBJSa += \
  22. CarlaEngineNative.cpp.o
  23. OBJSp = $(OBJS) \
  24. CarlaEngineNative.cpp.exp.o
  25. endif
  26. TARGETS = \
  27. ../carla_engine.a \
  28. ../carla_engine_plugin.a
  29. # --------------------------------------------------------------
  30. all: $(TARGETS)
  31. # --------------------------------------------------------------
  32. clean:
  33. $(RM) $(OBJSa) $(OBJSp)
  34. $(RM) $(TARGETS)
  35. debug:
  36. $(MAKE) DEBUG=true
  37. # --------------------------------------------------------------
  38. ../carla_engine.a: $(OBJSa)
  39. $(RM) $@
  40. $(AR) crs $@ $^
  41. ../carla_engine_plugin.a: $(OBJSp)
  42. $(RM) $@
  43. $(AR) crs $@ $^
  44. # --------------------------------------------------------------
  45. CarlaEngine.cpp.o: CarlaEngine.cpp $(CARLA_ENGINE_CPP_DEPS)
  46. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) $(QTXML_FLAGS) -c -o $@
  47. CarlaEngineInternal.cpp.o: CarlaEngineInternal.cpp $(CARLA_ENGINE_INTERNAL_CPP_DEPS)
  48. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  49. CarlaEngineOsc.cpp.o: CarlaEngineOsc.cpp $(CARLA_ENGINE_OSC_CPP_DEPS)
  50. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  51. CarlaEngineThread.cpp.o: CarlaEngineThread.cpp $(CARLA_ENGINE_THREAD_CPP_DEPS)
  52. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  53. CarlaEngineJack.cpp.o: CarlaEngineJack.cpp $(CARLA_ENGINE_JACK_CPP_DEPS)
  54. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  55. CarlaEngineRtAudio.cpp.o: CarlaEngineRtAudio.cpp $(CARLA_ENGINE_RTAUDIO_CPP_DEPS)
  56. $(CXX) $< $(BUILD_CXX_FLAGS) $(RTAUDIO_FLAGS) $(RTMIDI_FLAGS) -c -o $@
  57. CarlaEngineJuce.cpp.o: CarlaEngineJuce.cpp $(CARLA_ENGINE_JUCE_CPP_DEPS)
  58. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  59. CarlaEngineNative.cpp.o: CarlaEngineNative.cpp $(CARLA_ENGINE_NATIVE_CPP_DEPS)
  60. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) $(QTXML_FLAGS) -c -o $@
  61. CarlaEngineNative.cpp.exp.o: CarlaEngineNative.cpp $(CARLA_ENGINE_NATIVE_CPP_DEPS)
  62. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) $(QTXML_FLAGS) -DCARLA_PLUGIN_EXPORT -c -o $@
  63. # --------------------------------------------------------------