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.

49 lines
927B

  1. ### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in
  2. ### RtAudio library Makefile
  3. RM = /bin/rm
  4. OBJECTS = RtAudio.o @objects@
  5. STATIC = librtaudio.a
  6. SHARED = librtaudio.so
  7. LIBRARIES = $(STATIC) $(SHARED)
  8. CC = @CXX@
  9. AR = @AR@
  10. RANLIB = @RANLIB@
  11. DEFS = @CPPFLAGS@
  12. CFLAGS = @CXXFLAGS@ -Iinclude -fPIC
  13. all : $(LIBRARIES)
  14. tests:
  15. cd tests && $(MAKE) all
  16. $(LIBRARIES): $(OBJECTS)
  17. $(AR) ruv $(STATIC) $(OBJECTS)
  18. ranlib $(STATIC)
  19. $(CC) -shared $(OBJECTS) -o $(SHARED) @LIBS@
  20. %.o : %.cpp
  21. $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
  22. %.o : include/%.cpp
  23. $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
  24. clean :
  25. $(RM) -f $(LIBRARIES)
  26. $(RM) -f $(OBJECTS)
  27. $(RM) -f *~
  28. cd tests && $(MAKE) clean
  29. distclean: clean
  30. $(RM) -rf config.log config.status autom4te.cache Makefile rtaudio-config
  31. cd tests && $(MAKE) distclean
  32. strip :
  33. strip $(LIBRARIES)
  34. ranlib $(LIBRARIES)
  35. cd tests && $(MAKE) strip