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.

56 lines
1.4KB

  1. ### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in
  2. ### RtAudio tests Makefile - for various flavors of unix and MinGW
  3. PROGRAMS = audioprobe playsaw playraw record duplex testall
  4. RM = /bin/rm
  5. SRC_PATH = ..
  6. INCLUDE = ..
  7. OBJECT_PATH = @object_path@
  8. vpath %.o $(OBJECT_PATH)
  9. OBJECTS = RtAudio.o @objects@
  10. CC = @CXX@
  11. DEFS = @CPPFLAGS@
  12. CFLAGS = @CXXFLAGS@
  13. CFLAGS += -I$(INCLUDE) -I../include
  14. LIBRARY = @LIBS@
  15. %.o : $(SRC_PATH)/%.cpp
  16. $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@
  17. %.o : ../include/%.cpp
  18. $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@
  19. all : $(PROGRAMS)
  20. audioprobe : audioprobe.cpp $(OBJECTS)
  21. $(CC) $(CFLAGS) $(DEFS) -o audioprobe audioprobe.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
  22. playsaw : playsaw.cpp $(OBJECTS)
  23. $(CC) $(CFLAGS) $(DEFS) -o playsaw playsaw.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
  24. playraw : playraw.cpp $(OBJECTS)
  25. $(CC) $(CFLAGS) $(DEFS) -o playraw playraw.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
  26. record : record.cpp $(OBJECTS)
  27. $(CC) $(CFLAGS) $(DEFS) -o record record.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
  28. duplex : duplex.cpp $(OBJECTS)
  29. $(CC) $(CFLAGS) $(DEFS) -o duplex duplex.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
  30. testall : testall.cpp $(OBJECTS)
  31. $(CC) $(CFLAGS) $(DEFS) -o testall testall.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
  32. clean :
  33. -rm $(OBJECT_PATH)/*.o
  34. -rm $(PROGRAMS)
  35. -rm -f *.raw *~ *.exe
  36. -rm -fR *.dSYM
  37. distclean: clean
  38. -rm Makefile
  39. strip :
  40. strip $(PROGRAMS)