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
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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)/CarlaEngineGraph.cpp.o \
  77. $(OBJDIR)/CarlaEngineInternal.cpp.o \
  78. $(OBJDIR)/CarlaEngineNative.cpp.o \
  79. $(OBJDIR)/CarlaEngineOscSend.cpp.o \
  80. $(OBJDIR)/CarlaEnginePorts.cpp.o \
  81. $(OBJDIR)/CarlaEngineThread.cpp.o \
  82. $(OBJDIR)/CarlaEngineJack.cpp.o \
  83. $(OBJDIR)/CarlaEngineBridge.cpp.o \
  84. $(OBJDIR)/CarlaPlugin.cpp.o \
  85. $(OBJDIR)/CarlaPluginBridge.cpp.o \
  86. $(OBJDIR)/CarlaPluginInternal.cpp.o \
  87. $(OBJDIR)/CarlaPluginJack.cpp.o \
  88. $(OBJDIR)/CarlaPluginNative.cpp.o \
  89. $(OBJDIR)/CarlaPluginLADSPA.cpp.o \
  90. $(OBJDIR)/CarlaPluginDSSI.cpp.o \
  91. $(OBJDIR)/CarlaPluginLV2.cpp.o \
  92. $(OBJDIR)/CarlaPluginVST2.cpp.o \
  93. $(OBJDIR)/CarlaPluginFluidSynth.cpp.o \
  94. $(OBJDIR)/CarlaPluginSFZero.cpp.o \
  95. $(OBJDIR)/CarlaStandalone.cpp.o
  96. OBJS_lv2 = $(OBJS_native) \
  97. $(OBJDIR)/CarlaBridgeSingleLV2.cpp.o
  98. OBJS_arch = \
  99. $(OBJDIR)/CarlaBridgePlugin.cpp.arch.o \
  100. $(OBJDIR)/CarlaEngine.cpp.arch.o \
  101. $(OBJDIR)/CarlaEngineClient.cpp.arch.o \
  102. $(OBJDIR)/CarlaEngineData.cpp.arch.o \
  103. $(OBJDIR)/CarlaEngineInternal.cpp.arch.o \
  104. $(OBJDIR)/CarlaEnginePorts.cpp.arch.o \
  105. $(OBJDIR)/CarlaEngineThread.cpp.arch.o \
  106. $(OBJDIR)/CarlaEngineJack.cpp.arch.o \
  107. $(OBJDIR)/CarlaEngineBridge.cpp.arch.o \
  108. $(OBJDIR)/CarlaPlugin.cpp.arch.o \
  109. $(OBJDIR)/CarlaPluginBridge.cpp.arch.o \
  110. $(OBJDIR)/CarlaPluginInternal.cpp.arch.o \
  111. $(OBJDIR)/CarlaPluginLADSPA.cpp.arch.o \
  112. $(OBJDIR)/CarlaPluginDSSI.cpp.arch.o \
  113. $(OBJDIR)/CarlaPluginLV2.cpp.arch.o \
  114. $(OBJDIR)/CarlaPluginVST2.cpp.arch.o \
  115. $(OBJDIR)/CarlaStandalone.cpp.arch.o
  116. OBJS_posix32 = $(OBJS_arch:%.arch.o=%.posix32.o)
  117. OBJS_posix64 = $(OBJS_arch:%.arch.o=%.posix64.o)
  118. OBJS_win32 = $(OBJS_arch:%.arch.o=%.win32.o)
  119. OBJS_win64 = $(OBJS_arch:%.arch.o=%.win64.o)
  120. # ----------------------------------------------------------------------------------------------------------------------
  121. all: native
  122. # ----------------------------------------------------------------------------------------------------------------------
  123. clean:
  124. rm -f $(OBJDIR)/*.o
  125. rm -f $(BINDIR)/$(MODULENAME)-native
  126. rm -f $(BINDIR)/$(MODULENAME)-posix32
  127. rm -f $(BINDIR)/$(MODULENAME)-posix64
  128. rm -f $(BINDIR)/$(MODULENAME)-win*.exe
  129. debug:
  130. $(MAKE) DEBUG=true
  131. # ----------------------------------------------------------------------------------------------------------------------
  132. native: $(BINDIR)/$(MODULENAME)-native$(APP_EXT) $(BINDIR)/$(MODULENAME)-lv2$(LIB_EXT)
  133. posix32: $(BINDIR)/$(MODULENAME)-posix32
  134. posix64: $(BINDIR)/$(MODULENAME)-posix64
  135. win32: $(BINDIR)/$(MODULENAME)-win32.exe
  136. win64: $(BINDIR)/$(MODULENAME)-win64.exe
  137. # ----------------------------------------------------------------------------------------------------------------------
  138. # linking
  139. $(BINDIR)/$(MODULENAME)-native$(APP_EXT): $(OBJS_native) $(LIBS_native)
  140. -@mkdir -p $(BINDIR)
  141. @echo "Linking $(MODULENAME)-native$(APP_EXT)"
  142. @$(CXX) $(OBJS_native) $(LIBS_START) $(LIBS_native) $(LIBS_END) $(LINK_FLAGS) $(NATIVE_LINK_FLAGS) -o $@
  143. $(BINDIR)/$(MODULENAME)-lv2$(LIB_EXT): $(OBJS_lv2) $(LIBS_native)
  144. -@mkdir -p $(BINDIR)
  145. @echo "Linking $(MODULENAME)-lv2$(LIB_EXT)"
  146. @$(CXX) $(OBJS_lv2) $(LIBS_START) $(LIBS_native) $(LIBS_END) $(SHARED) $(LINK_FLAGS) $(NATIVE_LINK_FLAGS) -o $@
  147. $(BINDIR)/$(MODULENAME)-posix32: $(OBJS_posix32) $(LIBS_posix32)
  148. -@mkdir -p $(BINDIR)
  149. @echo "Linking $(MODULENAME)-posix32"
  150. @$(CXX) $(OBJS_posix32) $(LIBS_START) $(LIBS_posix32) $(LIBS_END) $(LINK_FLAGS) $(32BIT_FLAGS) -o $@
  151. $(BINDIR)/$(MODULENAME)-posix64: $(OBJS_posix64) $(LIBS_posix64)
  152. -@mkdir -p $(BINDIR)
  153. @echo "Linking $(MODULENAME)-posix64"
  154. @$(CXX) $(OBJS_posix64) $(LIBS_START) $(LIBS_posix64) $(LIBS_END) $(LINK_FLAGS) $(64BIT_FLAGS) -o $@
  155. $(BINDIR)/$(MODULENAME)-win32.exe: $(OBJS_win32) $(LIBS_win32)
  156. -@mkdir -p $(BINDIR)
  157. @echo "Linking $(MODULENAME)-win32.exe"
  158. @$(CXX) $(OBJS_win32) $(LIBS_START) $(LIBS_win32) $(LIBS_END) $(LINK_FLAGS) $(32BIT_FLAGS) -o $@
  159. $(BINDIR)/$(MODULENAME)-win64.exe: $(OBJS_win64) $(LIBS_win64)
  160. -@mkdir -p $(BINDIR)
  161. @echo "Linking $(MODULENAME)-win64.exe"
  162. @$(CXX) $(OBJS_win64) $(LIBS_START) $(LIBS_win64) $(LIBS_END) $(LINK_FLAGS) $(64BIT_FLAGS) -o $@
  163. # ----------------------------------------------------------------------------------------------------------------------
  164. # native
  165. ifeq ($(MACOS),true)
  166. $(OBJDIR)/CarlaPluginVST2.cpp.o: $(CWD)/backend/plugin/CarlaPluginVST2.cpp
  167. -@mkdir -p $(OBJDIR)
  168. @echo "Compiling CarlaPluginVST2.cpp (bridge)"
  169. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -ObjC++ -c -o $@
  170. $(OBJDIR)/CarlaStandalone.cpp.o: $(CWD)/backend/CarlaStandalone.cpp
  171. -@mkdir -p $(OBJDIR)
  172. @echo "Compiling CarlaStandalone.cpp (bridge)"
  173. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -ObjC++ -c -o $@
  174. $(OBJDIR)/CarlaBridgePlugin.cpp.o: CarlaBridgePlugin.cpp
  175. -@mkdir -p $(OBJDIR)
  176. @echo "Compiling $<"
  177. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -ObjC++ -c -o $@
  178. else
  179. $(OBJDIR)/CarlaStandalone.cpp.o: $(CWD)/backend/CarlaStandalone.cpp
  180. -@mkdir -p $(OBJDIR)
  181. @echo "Compiling CarlaStandalone.cpp (bridge)"
  182. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  183. $(OBJDIR)/CarlaBridgePlugin.cpp.o: CarlaBridgePlugin.cpp
  184. -@mkdir -p $(OBJDIR)
  185. @echo "Compiling $<"
  186. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  187. endif
  188. $(OBJDIR)/CarlaBridgeSingleLV2.cpp.o: CarlaBridgeSingleLV2.cpp
  189. -@mkdir -p $(OBJDIR)
  190. @echo "Compiling $<"
  191. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  192. $(OBJDIR)/CarlaPlug%.cpp.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  193. -@mkdir -p $(OBJDIR)
  194. @echo "Compiling CarlaPlug$*.cpp (bridge)"
  195. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  196. $(OBJDIR)/CarlaEng%.cpp.o: $(CWD)/backend/engine/CarlaEng%.cpp
  197. -@mkdir -p $(OBJDIR)
  198. @echo "Compiling CarlaEng$*.cpp (bridge)"
  199. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  200. # ----------------------------------------------------------------------------------------------------------------------
  201. # posix32
  202. ifeq ($(MACOS),true)
  203. $(OBJDIR)/CarlaPluginVST2.cpp.posix32.o: $(CWD)/backend/plugin/CarlaPluginVST2.cpp
  204. -@mkdir -p $(OBJDIR)
  205. @echo "Compiling CarlaPluginVST2.cpp (posix32 bridge)"
  206. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -ObjC++ -c -o $@
  207. $(OBJDIR)/CarlaBridgePlugin.cpp.posix32.o: CarlaBridgePlugin.cpp
  208. -@mkdir -p $(OBJDIR)
  209. @echo "Compiling $< (posix32 bridge)"
  210. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -ObjC++ -c -o $@
  211. $(OBJDIR)/CarlaStandalone.cpp.posix32.o: $(CWD)/backend/CarlaStandalone.cpp
  212. -@mkdir -p $(OBJDIR)
  213. @echo "Compiling CarlaStandalone.cpp (posix32 bridge)"
  214. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -ObjC++ -c -o $@
  215. else
  216. $(OBJDIR)/CarlaBridgePlugin.cpp.posix32.o: CarlaBridgePlugin.cpp
  217. -@mkdir -p $(OBJDIR)
  218. @echo "Compiling $< (posix32 bridge)"
  219. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  220. $(OBJDIR)/CarlaStandalone.cpp.posix32.o: $(CWD)/backend/CarlaStandalone.cpp
  221. -@mkdir -p $(OBJDIR)
  222. @echo "Compiling CarlaStandalone.cpp (posix32 bridge)"
  223. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  224. endif
  225. $(OBJDIR)/CarlaEng%.cpp.posix32.o: $(CWD)/backend/engine/CarlaEng%.cpp
  226. -@mkdir -p $(OBJDIR)
  227. @echo "Compiling CarlaEng$*.cpp (posix32 bridge)"
  228. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  229. $(OBJDIR)/CarlaPlug%.cpp.posix32.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  230. -@mkdir -p $(OBJDIR)
  231. @echo "Compiling CarlaPlug$*.cpp (posix32 bridge)"
  232. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  233. # ----------------------------------------------------------------------------------------------------------------------
  234. # posix64
  235. ifeq ($(MACOS),true)
  236. $(OBJDIR)/CarlaPluginVST2.cpp.posix64.o: $(CWD)/backend/plugin/CarlaPluginVST2.cpp
  237. -@mkdir -p $(OBJDIR)
  238. @echo "Compiling CarlaPluginVST2.cpp (posix64 bridge)"
  239. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -ObjC++ -c -o $@
  240. $(OBJDIR)/CarlaBridgePlugin.cpp.posix64.o: CarlaBridgePlugin.cpp
  241. -@mkdir -p $(OBJDIR)
  242. @echo "Compiling $< (posix64 bridge)"
  243. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -ObjC++ -c -o $@
  244. $(OBJDIR)/CarlaStandalone.cpp.posix64.o: $(CWD)/backend/CarlaStandalone.cpp
  245. -@mkdir -p $(OBJDIR)
  246. @echo "Compiling CarlaStandalone.cpp (posix64 bridge)"
  247. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -ObjC++ -c -o $@
  248. else
  249. $(OBJDIR)/CarlaBridgePlugin.cpp.posix64.o: CarlaBridgePlugin.cpp
  250. -@mkdir -p $(OBJDIR)
  251. @echo "Compiling $< (posix64 bridge)"
  252. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  253. $(OBJDIR)/CarlaStandalone.cpp.posix64.o: $(CWD)/backend/CarlaStandalone.cpp
  254. -@mkdir -p $(OBJDIR)
  255. @echo "Compiling CarlaStandalone.cpp (posix64 bridge)"
  256. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  257. endif
  258. $(OBJDIR)/CarlaEng%.cpp.posix64.o: $(CWD)/backend/engine/CarlaEng%.cpp
  259. -@mkdir -p $(OBJDIR)
  260. @echo "Compiling CarlaEng$*.cpp (posix64 bridge)"
  261. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  262. $(OBJDIR)/CarlaPlug%.cpp.posix64.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  263. -@mkdir -p $(OBJDIR)
  264. @echo "Compiling CarlaPlug$*.cpp (posix64 bridge)"
  265. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  266. # ----------------------------------------------------------------------------------------------------------------------
  267. # win32
  268. $(OBJDIR)/CarlaBridgePlugin.cpp.win32.o: CarlaBridgePlugin.cpp
  269. -@mkdir -p $(OBJDIR)
  270. @echo "Compiling $< (win32 bridge)"
  271. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  272. $(OBJDIR)/CarlaEng%.cpp.win32.o: $(CWD)/backend/engine/CarlaEng%.cpp
  273. -@mkdir -p $(OBJDIR)
  274. @echo "Compiling CarlaEng$*.cpp (win32 bridge)"
  275. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  276. $(OBJDIR)/CarlaPlug%.cpp.win32.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  277. -@mkdir -p $(OBJDIR)
  278. @echo "Compiling CarlaPlug$*.cpp (win32 bridge)"
  279. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  280. $(OBJDIR)/CarlaStandalone.cpp.win32.o: $(CWD)/backend/CarlaStandalone.cpp
  281. -@mkdir -p $(OBJDIR)
  282. @echo "Compiling CarlaStandalone.cpp (win32 bridge)"
  283. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  284. # ----------------------------------------------------------------------------------------------------------------------
  285. # win64
  286. $(OBJDIR)/CarlaBridgePlugin.cpp.win64.o: CarlaBridgePlugin.cpp
  287. -@mkdir -p $(OBJDIR)
  288. @echo "Compiling $< (win64 bridge)"
  289. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  290. $(OBJDIR)/CarlaEng%.cpp.win64.o: $(CWD)/backend/engine/CarlaEng%.cpp
  291. -@mkdir -p $(OBJDIR)
  292. @echo "Compiling CarlaEng$*.cpp (win64 bridge)"
  293. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  294. $(OBJDIR)/CarlaPlug%.cpp.win64.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  295. -@mkdir -p $(OBJDIR)
  296. @echo "Compiling CarlaPlug$*.cpp (win64 bridge)"
  297. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  298. $(OBJDIR)/CarlaStandalone.cpp.win64.o: $(CWD)/backend/CarlaStandalone.cpp
  299. -@mkdir -p $(OBJDIR)
  300. @echo "Compiling CarlaStandalone.cpp (win64 bridge)"
  301. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  302. # ----------------------------------------------------------------------------------------------------------------------
  303. -include $(OBJS_lv2:%.o=%.d)
  304. -include $(OBJS_posix32:%.o=%.d)
  305. -include $(OBJS_posix64:%.o=%.d)
  306. -include $(OBJS_win32:%.o=%.d)
  307. -include $(OBJS_win64:%.o=%.d)
  308. # ----------------------------------------------------------------------------------------------------------------------