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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #!/usr/bin/make -f
  2. # Makefile for rtmidi #
  3. # ------------------- #
  4. # Created by falkTX
  5. #
  6. include ../../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_CXX_FLAGS += $(RTMIDI_FLAGS) -I. -Iinclude -I.. -I../../includes -w
  9. LINK_FLAGS += $(RTMIDI_LIBS)
  10. OBJS = RtMidi.cpp.o
  11. # --------------------------------------------------------------
  12. all: ../rtmidi.a
  13. # --------------------------------------------------------------
  14. ../rtmidi.a: $(OBJS)
  15. $(RM) $@
  16. $(AR) crs $@ $^
  17. ../librtmidi.dll: $(OBJS)
  18. $(CXX) $^ -shared $(LINK_FLAGS) -o $@
  19. ../librtmidi.dylib: $(OBJS)
  20. $(CXX) $^ -dynamiclib $(LINK_FLAGS) -o $@
  21. ../librtmidi.so: $(OBJS)
  22. $(CXX) $^ -shared $(LINK_FLAGS) -o $@
  23. # --------------------------------------------------------------
  24. %.cpp.o: %.cpp
  25. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  26. # --------------------------------------------------------------
  27. clean:
  28. $(RM) *.o ../rtmidi*.a ../librtmidi.*
  29. debug:
  30. $(MAKE) DEBUG=true
  31. # --------------------------------------------------------------