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

10 years ago
10 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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) -I. -Iinclude -I.. -I../../includes
  9. # --------------------------------------------------------------
  10. OBJS = \
  11. RtAudio.cpp.o
  12. ifeq ($(WIN32),true)
  13. OBJS += \
  14. include/asio.cpp.o \
  15. include/asiodrivers.cpp.o \
  16. include/asiolist.cpp.o \
  17. include/iasiothiscallresolver.cpp.o
  18. endif
  19. TARGETS = \
  20. ../rtaudio.a
  21. # --------------------------------------------------------------
  22. all: $(TARGETS)
  23. # --------------------------------------------------------------
  24. clean:
  25. $(RM) $(OBJS)
  26. $(RM) $(TARGETS)
  27. debug:
  28. $(MAKE) DEBUG=true
  29. # --------------------------------------------------------------
  30. ../rtaudio.a: $(OBJS)
  31. $(RM) $@
  32. $(AR) crs $@ $^
  33. # --------------------------------------------------------------
  34. RtAudio.cpp.o: RtAudio.cpp RtAudio.h
  35. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  36. # --------------------------------------------------------------