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 14KB

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
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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. #!/usr/bin/make -f
  2. # Makefile for carla-bridges-plugin #
  3. # --------------------------------- #
  4. # Created by falkTX
  5. #
  6. CWD=..
  7. MODULENAME=carla-bridge
  8. include $(CWD)/Makefile.mk
  9. # ----------------------------------------------------------------------------------------------------------------------
  10. BINDIR := $(CWD)/../bin
  11. ifeq ($(DEBUG),true)
  12. OBJDIR := $(CWD)/../build/bridges-plugin/Debug
  13. MODULEDIR := $(CWD)/../build/modules/Debug
  14. else
  15. OBJDIR := $(CWD)/../build/bridges-plugin/Release
  16. MODULEDIR := $(CWD)/../build/modules/Release
  17. endif
  18. # ----------------------------------------------------------------------------------------------------------------------
  19. BUILD_CXX_FLAGS += -DBUILD_BRIDGE -I. -I$(CWD) -I$(CWD)/backend -I$(CWD)/includes -I$(CWD)/modules -I$(CWD)/utils
  20. BUILD_CXX_FLAGS += -I$(CWD)/backend/engine -I$(CWD)/backend/plugin
  21. 32BIT_FLAGS += -DBUILD_BRIDGE_ALTERNATIVE_ARCH
  22. 64BIT_FLAGS += -DBUILD_BRIDGE_ALTERNATIVE_ARCH
  23. # ----------------------------------------------------------------------------------------------------------------------
  24. LIBS_native = $(MODULEDIR)/jackbridge.a
  25. LIBS_posix32 = $(MODULEDIR)/jackbridge.posix32.a
  26. LIBS_posix64 = $(MODULEDIR)/jackbridge.posix64.a
  27. ifeq ($(BUILDING_FOR_WINDOWS),true)
  28. LIBS_win32 = $(MODULEDIR)/jackbridge.win32.a
  29. LIBS_win64 = $(MODULEDIR)/jackbridge.win64.a
  30. else
  31. LIBS_win32 = $(MODULEDIR)/jackbridge.win32e.a
  32. LIBS_win64 = $(MODULEDIR)/jackbridge.win64e.a
  33. endif
  34. LINK_FLAGS += $(JACKBRIDGE_LIBS)
  35. LIBS_native += $(MODULEDIR)/lilv.a
  36. LIBS_posix32 += $(MODULEDIR)/lilv.posix32.a
  37. LIBS_posix64 += $(MODULEDIR)/lilv.posix64.a
  38. LIBS_win32 += $(MODULEDIR)/lilv.win32.a
  39. LIBS_win64 += $(MODULEDIR)/lilv.win64.a
  40. LINK_FLAGS += $(LILV_LIBS)
  41. LIBS_native += $(MODULEDIR)/rtmempool.a
  42. LIBS_posix32 += $(MODULEDIR)/rtmempool.posix32.a
  43. LIBS_posix64 += $(MODULEDIR)/rtmempool.posix64.a
  44. LIBS_win32 += $(MODULEDIR)/rtmempool.win32.a
  45. LIBS_win64 += $(MODULEDIR)/rtmempool.win64.a
  46. LINK_FLAGS += $(RTMEMPOOL_LIBS)
  47. LIBS_native += $(MODULEDIR)/water.a
  48. LIBS_posix32 += $(MODULEDIR)/water.posix32.a
  49. LIBS_posix64 += $(MODULEDIR)/water.posix64.a
  50. LIBS_win32 += $(MODULEDIR)/water.win32.a
  51. LIBS_win64 += $(MODULEDIR)/water.win64.a
  52. LINK_FLAGS += $(WATER_LIBS)
  53. LINK_FLAGS += $(X11_LIBS)
  54. # ----------------------------------------------------------------------------------------------------------------------
  55. NATIVE_BUILD_FLAGS = $(NATIVE_PLUGINS_FLAGS) $(LIBLO_FLAGS)
  56. NATIVE_LINK_FLAGS = $(LIBLO_LIBS)
  57. NATIVE_BUILD_FLAGS += $(FLUIDSYNTH_FLAGS)
  58. NATIVE_LINK_FLAGS += $(FLUIDSYNTH_LIBS)
  59. NATIVE_BUILD_FLAGS += $(LINUXSAMPLER_FLAGS)
  60. NATIVE_LINK_FLAGS += $(LINUXSAMPLER_LIBS)
  61. NATIVE_LINK_FLAGS += $(FFMPEG_LIBS)
  62. NATIVE_LINK_FLAGS += $(MAGIC_LIBS)
  63. NATIVE_LINK_FLAGS += $(SNDFILE_LIBS)
  64. LIBS_native += $(MODULEDIR)/audio_decoder.a
  65. LIBS_native += $(MODULEDIR)/native-plugins.base.a
  66. LIBS_native += $(MODULEDIR)/sfzero.a
  67. ifeq ($(HAVE_DGL),true)
  68. LIBS_native += $(MODULEDIR)/dgl.a
  69. endif
  70. # ----------------------------------------------------------------------------------------------------------------------
  71. OBJS_native = \
  72. $(OBJDIR)/CarlaBridgePlugin.cpp.o \
  73. $(OBJDIR)/CarlaEngine.cpp.o \
  74. $(OBJDIR)/CarlaEngineClient.cpp.o \
  75. $(OBJDIR)/CarlaEngineData.cpp.o \
  76. $(OBJDIR)/CarlaEngineInternal.cpp.o \
  77. $(OBJDIR)/CarlaEngineOsc.cpp.o \
  78. $(OBJDIR)/CarlaEngineOscSend.cpp.o \
  79. $(OBJDIR)/CarlaEnginePorts.cpp.o \
  80. $(OBJDIR)/CarlaEngineThread.cpp.o \
  81. $(OBJDIR)/CarlaEngineJack.cpp.o \
  82. $(OBJDIR)/CarlaEngineBridge.cpp.o \
  83. $(OBJDIR)/CarlaPlugin.cpp.o \
  84. $(OBJDIR)/CarlaPluginBridge.cpp.o \
  85. $(OBJDIR)/CarlaPluginInternal.cpp.o \
  86. $(OBJDIR)/CarlaPluginJack.cpp.o \
  87. $(OBJDIR)/CarlaPluginNative.cpp.o \
  88. $(OBJDIR)/CarlaPluginLADSPA.cpp.o \
  89. $(OBJDIR)/CarlaPluginDSSI.cpp.o \
  90. $(OBJDIR)/CarlaPluginLV2.cpp.o \
  91. $(OBJDIR)/CarlaPluginVST2.cpp.o \
  92. $(OBJDIR)/CarlaPluginFluidSynth.cpp.o \
  93. $(OBJDIR)/CarlaPluginSFZero.cpp.o \
  94. $(OBJDIR)/CarlaStandalone.cpp.o
  95. OBJS_lv2 = $(OBJS_native) \
  96. $(OBJDIR)/CarlaBridgeSingleLV2.cpp.o
  97. OBJS_arch = \
  98. $(OBJDIR)/CarlaBridgePlugin.cpp.arch.o \
  99. $(OBJDIR)/CarlaEngine.cpp.arch.o \
  100. $(OBJDIR)/CarlaEngineClient.cpp.arch.o \
  101. $(OBJDIR)/CarlaEngineData.cpp.arch.o \
  102. $(OBJDIR)/CarlaEngineInternal.cpp.arch.o \
  103. $(OBJDIR)/CarlaEnginePorts.cpp.arch.o \
  104. $(OBJDIR)/CarlaEngineThread.cpp.arch.o \
  105. $(OBJDIR)/CarlaEngineJack.cpp.arch.o \
  106. $(OBJDIR)/CarlaEngineBridge.cpp.arch.o \
  107. $(OBJDIR)/CarlaPlugin.cpp.arch.o \
  108. $(OBJDIR)/CarlaPluginBridge.cpp.arch.o \
  109. $(OBJDIR)/CarlaPluginInternal.cpp.arch.o \
  110. $(OBJDIR)/CarlaPluginLADSPA.cpp.arch.o \
  111. $(OBJDIR)/CarlaPluginDSSI.cpp.arch.o \
  112. $(OBJDIR)/CarlaPluginLV2.cpp.arch.o \
  113. $(OBJDIR)/CarlaPluginVST2.cpp.arch.o \
  114. $(OBJDIR)/CarlaStandalone.cpp.arch.o
  115. OBJS_posix32 = $(OBJS_arch:%.arch.o=%.posix32.o)
  116. OBJS_posix64 = $(OBJS_arch:%.arch.o=%.posix64.o)
  117. OBJS_win32 = $(OBJS_arch:%.arch.o=%.win32.o)
  118. OBJS_win64 = $(OBJS_arch:%.arch.o=%.win64.o)
  119. # ----------------------------------------------------------------------------------------------------------------------
  120. all: native
  121. # ----------------------------------------------------------------------------------------------------------------------
  122. clean:
  123. rm -f $(OBJDIR)/*.o
  124. rm -f $(BINDIR)/$(MODULENAME)-native
  125. rm -f $(BINDIR)/$(MODULENAME)-posix32
  126. rm -f $(BINDIR)/$(MODULENAME)-posix64
  127. rm -f $(BINDIR)/$(MODULENAME)-win*.exe
  128. debug:
  129. $(MAKE) DEBUG=true
  130. # ----------------------------------------------------------------------------------------------------------------------
  131. native: $(BINDIR)/$(MODULENAME)-native$(APP_EXT) $(BINDIR)/$(MODULENAME)-lv2$(LIB_EXT)
  132. posix32: $(BINDIR)/$(MODULENAME)-posix32
  133. posix64: $(BINDIR)/$(MODULENAME)-posix64
  134. win32: $(BINDIR)/$(MODULENAME)-win32.exe
  135. win64: $(BINDIR)/$(MODULENAME)-win64.exe
  136. # ----------------------------------------------------------------------------------------------------------------------
  137. # linking
  138. $(BINDIR)/$(MODULENAME)-native$(APP_EXT): $(OBJS_native) $(LIBS_native)
  139. -@mkdir -p $(BINDIR)
  140. @echo "Linking $(MODULENAME)-native$(APP_EXT)"
  141. @$(CXX) $(OBJS_native) $(LIBS_START) $(LIBS_native) $(LIBS_END) $(LINK_FLAGS) $(NATIVE_LINK_FLAGS) -o $@
  142. $(BINDIR)/$(MODULENAME)-lv2$(LIB_EXT): $(OBJS_lv2) $(LIBS_native)
  143. -@mkdir -p $(BINDIR)
  144. @echo "Linking $(MODULENAME)-lv2$(LIB_EXT)"
  145. @$(CXX) $(OBJS_lv2) $(LIBS_START) $(LIBS_native) $(LIBS_END) $(SHARED) $(LINK_FLAGS) $(NATIVE_LINK_FLAGS) -o $@
  146. $(BINDIR)/$(MODULENAME)-posix32: $(OBJS_posix32) $(LIBS_posix32)
  147. -@mkdir -p $(BINDIR)
  148. @echo "Linking $(MODULENAME)-posix32"
  149. @$(CXX) $(OBJS_posix32) $(LIBS_START) $(LIBS_posix32) $(LIBS_END) $(LINK_FLAGS) $(32BIT_FLAGS) -o $@
  150. $(BINDIR)/$(MODULENAME)-posix64: $(OBJS_posix64) $(LIBS_posix64)
  151. -@mkdir -p $(BINDIR)
  152. @echo "Linking $(MODULENAME)-posix64"
  153. @$(CXX) $(OBJS_posix64) $(LIBS_START) $(LIBS_posix64) $(LIBS_END) $(LINK_FLAGS) $(64BIT_FLAGS) -o $@
  154. $(BINDIR)/$(MODULENAME)-win32.exe: $(OBJS_win32) $(LIBS_win32)
  155. -@mkdir -p $(BINDIR)
  156. @echo "Linking $(MODULENAME)-win32.exe"
  157. @$(CXX) $(OBJS_win32) $(LIBS_START) $(LIBS_win32) $(LIBS_END) $(LINK_FLAGS) $(32BIT_FLAGS) -o $@
  158. $(BINDIR)/$(MODULENAME)-win64.exe: $(OBJS_win64) $(LIBS_win64)
  159. -@mkdir -p $(BINDIR)
  160. @echo "Linking $(MODULENAME)-win64.exe"
  161. @$(CXX) $(OBJS_win64) $(LIBS_START) $(LIBS_win64) $(LIBS_END) $(LINK_FLAGS) $(64BIT_FLAGS) -o $@
  162. # ----------------------------------------------------------------------------------------------------------------------
  163. # native
  164. ifeq ($(MACOS),true)
  165. $(OBJDIR)/CarlaPluginVST2.cpp.o: $(CWD)/backend/plugin/CarlaPluginVST2.cpp
  166. -@mkdir -p $(OBJDIR)
  167. @echo "Compiling CarlaPluginVST2.cpp (bridge)"
  168. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -ObjC++ -c -o $@
  169. $(OBJDIR)/CarlaStandalone.cpp.o: $(CWD)/backend/CarlaStandalone.cpp
  170. -@mkdir -p $(OBJDIR)
  171. @echo "Compiling CarlaStandalone.cpp (bridge)"
  172. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -ObjC++ -c -o $@
  173. $(OBJDIR)/CarlaBridgePlugin.cpp.o: CarlaBridgePlugin.cpp
  174. -@mkdir -p $(OBJDIR)
  175. @echo "Compiling $<"
  176. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -ObjC++ -c -o $@
  177. else
  178. $(OBJDIR)/CarlaStandalone.cpp.o: $(CWD)/backend/CarlaStandalone.cpp
  179. -@mkdir -p $(OBJDIR)
  180. @echo "Compiling CarlaStandalone.cpp (bridge)"
  181. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  182. $(OBJDIR)/CarlaBridgePlugin.cpp.o: CarlaBridgePlugin.cpp
  183. -@mkdir -p $(OBJDIR)
  184. @echo "Compiling $<"
  185. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  186. endif
  187. $(OBJDIR)/CarlaBridgeSingleLV2.cpp.o: CarlaBridgeSingleLV2.cpp
  188. -@mkdir -p $(OBJDIR)
  189. @echo "Compiling $<"
  190. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  191. $(OBJDIR)/CarlaPlug%.cpp.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  192. -@mkdir -p $(OBJDIR)
  193. @echo "Compiling CarlaPlug$*.cpp (bridge)"
  194. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  195. $(OBJDIR)/CarlaEng%.cpp.o: $(CWD)/backend/engine/CarlaEng%.cpp
  196. -@mkdir -p $(OBJDIR)
  197. @echo "Compiling CarlaEng$*.cpp (bridge)"
  198. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  199. # ----------------------------------------------------------------------------------------------------------------------
  200. # posix32
  201. ifeq ($(MACOS),true)
  202. $(OBJDIR)/CarlaPluginVST2.cpp.posix32.o: $(CWD)/backend/plugin/CarlaPluginVST2.cpp
  203. -@mkdir -p $(OBJDIR)
  204. @echo "Compiling CarlaPluginVST2.cpp (posix32 bridge)"
  205. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -ObjC++ -c -o $@
  206. $(OBJDIR)/CarlaBridgePlugin.cpp.posix32.o: CarlaBridgePlugin.cpp
  207. -@mkdir -p $(OBJDIR)
  208. @echo "Compiling $< (posix32 bridge)"
  209. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -ObjC++ -c -o $@
  210. $(OBJDIR)/CarlaStandalone.cpp.posix32.o: $(CWD)/backend/CarlaStandalone.cpp
  211. -@mkdir -p $(OBJDIR)
  212. @echo "Compiling CarlaStandalone.cpp (posix32 bridge)"
  213. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -ObjC++ -c -o $@
  214. else
  215. $(OBJDIR)/CarlaBridgePlugin.cpp.posix32.o: CarlaBridgePlugin.cpp
  216. -@mkdir -p $(OBJDIR)
  217. @echo "Compiling $< (posix32 bridge)"
  218. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  219. $(OBJDIR)/CarlaStandalone.cpp.posix32.o: $(CWD)/backend/CarlaStandalone.cpp
  220. -@mkdir -p $(OBJDIR)
  221. @echo "Compiling CarlaStandalone.cpp (posix32 bridge)"
  222. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  223. endif
  224. $(OBJDIR)/CarlaEng%.cpp.posix32.o: $(CWD)/backend/engine/CarlaEng%.cpp
  225. -@mkdir -p $(OBJDIR)
  226. @echo "Compiling CarlaEng$*.cpp (posix32 bridge)"
  227. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  228. $(OBJDIR)/CarlaPlug%.cpp.posix32.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  229. -@mkdir -p $(OBJDIR)
  230. @echo "Compiling CarlaPlug$*.cpp (posix32 bridge)"
  231. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  232. # ----------------------------------------------------------------------------------------------------------------------
  233. # posix64
  234. ifeq ($(MACOS),true)
  235. $(OBJDIR)/CarlaPluginVST2.cpp.posix64.o: $(CWD)/backend/plugin/CarlaPluginVST2.cpp
  236. -@mkdir -p $(OBJDIR)
  237. @echo "Compiling CarlaPluginVST2.cpp (posix64 bridge)"
  238. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -ObjC++ -c -o $@
  239. $(OBJDIR)/CarlaBridgePlugin.cpp.posix64.o: CarlaBridgePlugin.cpp
  240. -@mkdir -p $(OBJDIR)
  241. @echo "Compiling $< (posix64 bridge)"
  242. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -ObjC++ -c -o $@
  243. $(OBJDIR)/CarlaStandalone.cpp.posix64.o: $(CWD)/backend/CarlaStandalone.cpp
  244. -@mkdir -p $(OBJDIR)
  245. @echo "Compiling CarlaStandalone.cpp (posix64 bridge)"
  246. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -ObjC++ -c -o $@
  247. else
  248. $(OBJDIR)/CarlaBridgePlugin.cpp.posix64.o: CarlaBridgePlugin.cpp
  249. -@mkdir -p $(OBJDIR)
  250. @echo "Compiling $< (posix64 bridge)"
  251. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  252. $(OBJDIR)/CarlaStandalone.cpp.posix64.o: $(CWD)/backend/CarlaStandalone.cpp
  253. -@mkdir -p $(OBJDIR)
  254. @echo "Compiling CarlaStandalone.cpp (posix64 bridge)"
  255. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  256. endif
  257. $(OBJDIR)/CarlaEng%.cpp.posix64.o: $(CWD)/backend/engine/CarlaEng%.cpp
  258. -@mkdir -p $(OBJDIR)
  259. @echo "Compiling CarlaEng$*.cpp (posix64 bridge)"
  260. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  261. $(OBJDIR)/CarlaPlug%.cpp.posix64.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  262. -@mkdir -p $(OBJDIR)
  263. @echo "Compiling CarlaPlug$*.cpp (posix64 bridge)"
  264. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  265. # ----------------------------------------------------------------------------------------------------------------------
  266. # win32
  267. $(OBJDIR)/CarlaBridgePlugin.cpp.win32.o: CarlaBridgePlugin.cpp
  268. -@mkdir -p $(OBJDIR)
  269. @echo "Compiling $< (win32 bridge)"
  270. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  271. $(OBJDIR)/CarlaEng%.cpp.win32.o: $(CWD)/backend/engine/CarlaEng%.cpp
  272. -@mkdir -p $(OBJDIR)
  273. @echo "Compiling CarlaEng$*.cpp (win32 bridge)"
  274. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  275. $(OBJDIR)/CarlaPlug%.cpp.win32.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  276. -@mkdir -p $(OBJDIR)
  277. @echo "Compiling CarlaPlug$*.cpp (win32 bridge)"
  278. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  279. $(OBJDIR)/CarlaStandalone.cpp.win32.o: $(CWD)/backend/CarlaStandalone.cpp
  280. -@mkdir -p $(OBJDIR)
  281. @echo "Compiling CarlaStandalone.cpp (win32 bridge)"
  282. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  283. # ----------------------------------------------------------------------------------------------------------------------
  284. # win64
  285. $(OBJDIR)/CarlaBridgePlugin.cpp.win64.o: CarlaBridgePlugin.cpp
  286. -@mkdir -p $(OBJDIR)
  287. @echo "Compiling $< (win64 bridge)"
  288. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  289. $(OBJDIR)/CarlaEng%.cpp.win64.o: $(CWD)/backend/engine/CarlaEng%.cpp
  290. -@mkdir -p $(OBJDIR)
  291. @echo "Compiling CarlaEng$*.cpp (win64 bridge)"
  292. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  293. $(OBJDIR)/CarlaPlug%.cpp.win64.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  294. -@mkdir -p $(OBJDIR)
  295. @echo "Compiling CarlaPlug$*.cpp (win64 bridge)"
  296. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  297. $(OBJDIR)/CarlaStandalone.cpp.win64.o: $(CWD)/backend/CarlaStandalone.cpp
  298. -@mkdir -p $(OBJDIR)
  299. @echo "Compiling CarlaStandalone.cpp (win64 bridge)"
  300. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  301. # ----------------------------------------------------------------------------------------------------------------------
  302. -include $(OBJS_lv2:%.o=%.d)
  303. -include $(OBJS_posix32:%.o=%.d)
  304. -include $(OBJS_posix64:%.o=%.d)
  305. -include $(OBJS_win32:%.o=%.d)
  306. -include $(OBJS_win64:%.o=%.d)
  307. # ----------------------------------------------------------------------------------------------------------------------