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.

92 lines
2.5KB

  1. #!/usr/bin/make -f
  2. # Makefile for juce_data_structures #
  3. # --------------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_CXX_FLAGS += $(JUCE_DATA_STRUCTURES_FLAGS) -I. -w
  9. # --------------------------------------------------------------
  10. ifeq ($(MACOS),true)
  11. OBJS = juce_data_structures.mm.o
  12. OBJS_posix32 = juce_data_structures.mm.posix32.o
  13. OBJS_posix64 = juce_data_structures.mm.posix64.o
  14. else
  15. OBJS = juce_data_structures.cpp.o
  16. OBJS_posix32 = juce_data_structures.cpp.posix32.o
  17. OBJS_posix64 = juce_data_structures.cpp.posix64.o
  18. endif
  19. OBJS_win32 = juce_data_structures.cpp.win32.o
  20. OBJS_win64 = juce_data_structures.cpp.win64.o
  21. # --------------------------------------------------------------
  22. all: ../juce_data_structures.a
  23. posix32: ../juce_data_structures.posix32.a
  24. posix64: ../juce_data_structures.posix64.a
  25. win32: ../juce_data_structures.win32.a
  26. win64: ../juce_data_structures.win64.a
  27. # --------------------------------------------------------------
  28. clean:
  29. $(RM) *.o ../juce_data_structures*.a
  30. debug:
  31. $(MAKE) DEBUG=true
  32. # --------------------------------------------------------------
  33. ../juce_data_structures.a: $(OBJS)
  34. $(RM) $@
  35. $(AR) crs $@ $^
  36. ../juce_data_structures.posix32.a: $(OBJS_posix32)
  37. $(RM) $@
  38. $(AR) crs $@ $^
  39. ../juce_data_structures.posix64.a: $(OBJS_posix64)
  40. $(RM) $@
  41. $(AR) crs $@ $^
  42. ../juce_data_structures.win32.a: $(OBJS_win32)
  43. $(RM) $@
  44. $(AR) crs $@ $^
  45. ../juce_data_structures.win64.a: $(OBJS_win64)
  46. $(RM) $@
  47. $(AR) crs $@ $^
  48. # --------------------------------------------------------------
  49. CPP_DEPS = juce_data_structures.cpp juce_data_structures.h AppConfig.h */*.cpp */*.h
  50. juce_data_structures.cpp.o: $(CPP_DEPS)
  51. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  52. juce_data_structures.cpp.%32.o: $(CPP_DEPS)
  53. $(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  54. juce_data_structures.cpp.%64.o: $(CPP_DEPS)
  55. $(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  56. # --------------------------------------------------------------
  57. MM_DEPS = juce_data_structures.mm juce_data_structures.h AppConfig.h */*.mm */*.cpp */*.h
  58. juce_data_structures.mm.o: $(MM_DEPS)
  59. $(CXX) $< $(BUILD_CXX_FLAGS) -ObjC++ -c -o $@
  60. juce_data_structures.mm.%32.o: $(MM_DEPS)
  61. $(CXX) $< $(BUILD_CXX_FLAGS) -ObjC++ $(32BIT_FLAGS) -c -o $@
  62. juce_data_structures.mm.%64.o: $(MM_DEPS)
  63. $(CXX) $< $(BUILD_CXX_FLAGS) -ObjC++ $(64BIT_FLAGS) -c -o $@
  64. # --------------------------------------------------------------