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.

57 lines
1.2KB

  1. #!/usr/bin/make -f
  2. # Makefile for rtaudio #
  3. # -------------------- #
  4. # Created by falkTX
  5. #
  6. include ../../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_CXX_FLAGS += $(RTAUDIO_FLAGS) -DHAVE_GETTIMEOFDAY -D__UNIX_JACK__ -I. -Iinclude -I.. -I../../includes
  9. LINK_FLAGS += $(RTAUDIO_LIBS) -L.. -ljackbridge
  10. OBJS = RtAudio.cpp.o
  11. ifeq ($(WIN32),true)
  12. OBJS += \
  13. include/asio.cpp.o \
  14. include/asiodrivers.cpp.o \
  15. include/asiolist.cpp.o \
  16. include/iasiothiscallresolver.cpp.o
  17. endif
  18. # --------------------------------------------------------------
  19. all: ../rtaudio.a
  20. # --------------------------------------------------------------
  21. ../rtaudio.a: $(OBJS)
  22. $(RM) $@
  23. $(AR) crs $@ $^
  24. ../librtaudio.dll: $(OBJS)
  25. $(CXX) $^ -shared $(LINK_FLAGS) -o $@
  26. ../librtaudio.dylib: $(OBJS)
  27. $(CXX) $^ -dynamiclib $(LINK_FLAGS) -o $@
  28. ../librtaudio.so: $(OBJS)
  29. $(CXX) $^ -shared $(LINK_FLAGS) -o $@
  30. # --------------------------------------------------------------
  31. %.cpp.o: %.cpp
  32. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  33. # --------------------------------------------------------------
  34. clean:
  35. $(RM) *.o ../rtaudio*.a ../librtaudio.*
  36. debug:
  37. $(MAKE) DEBUG=true
  38. # --------------------------------------------------------------