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.

44 lines
672B

  1. ### RtAudio library Makefile
  2. RM = /bin/rm
  3. OBJECTS = RtAudio.o
  4. LIBRARY = librtaudio.a
  5. CC = @CXX@
  6. AR = @AR@
  7. RANLIB = @RANLIB@
  8. DEFS = @debug@
  9. DEFS += @audio_apis@
  10. CFLAGS = @cflags@
  11. CFLAGS += @warn@
  12. all : $(LIBRARY)
  13. tests:
  14. cd tests && $(MAKE) all
  15. $(LIBRARY): $(OBJECTS)
  16. $(AR) ruv $(LIBRARY) $(OBJECTS)
  17. ranlib $(LIBRARY)
  18. %.o : %.cpp
  19. $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
  20. clean :
  21. -rm -f $(LIBRARY)
  22. -rm -f $(OBJECTS)
  23. -rm -f *~
  24. cd tests && $(MAKE) clean
  25. distclean: clean
  26. -rm -rf config.log autom4te.cache Makefile rtaudio-config
  27. cd tests && $(MAKE) distclean
  28. strip :
  29. strip $(LIBRARY)
  30. ranlib $(LIBRARY)
  31. cd tests && $(MAKE) strip