Release 4.0.12 tarball
[rtaudio.git] / tests / Makefile.in
index 059b5ce9239ecb8684c53afb8f947ec56831c890..fbca16b8526f18b6ac9d08f81ff33357bfd45328 100644 (file)
@@ -1,7 +1,7 @@
 ### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in
 ### RtAudio tests Makefile - for various flavors of unix and MinGW
 
-PROGRAMS = audioprobe playsaw playraw record duplex testall
+PROGRAMS = audioprobe playsaw playraw record duplex testall teststops
 RM = /bin/rm
 SRC_PATH = ..
 INCLUDE = ..
@@ -11,12 +11,10 @@ vpath %.o $(OBJECT_PATH)
 OBJECTS        =       RtAudio.o @objects@
 
 CC       = @CXX@
-DEFS     = @debug@
-DEFS    += @audio_apis@
-CFLAGS   = @CFLAGS@
-CFLAGS  += @warn@ -I$(INCLUDE) -I../include
+DEFS     = @CPPFLAGS@
+CFLAGS   = @CXXFLAGS@
+CFLAGS  += -I$(INCLUDE) -I../include
 LIBRARY  = @LIBS@
-LIBRARY += @frameworks@
 
 %.o : $(SRC_PATH)/%.cpp
        $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@
@@ -44,11 +42,17 @@ duplex : duplex.cpp $(OBJECTS)
 testall : testall.cpp $(OBJECTS)
        $(CC) $(CFLAGS) $(DEFS) -o testall testall.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
 
+teststops : teststops.cpp $(OBJECTS)
+       $(CC) $(CFLAGS) $(DEFS) -o teststops teststops.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
 
 clean : 
-       -rm $(OBJECT_PATH)/*.o
-       -rm $(PROGRAMS)
-       -rm -f *.raw *~ *.exe
+       $(RM) -f $(OBJECT_PATH)/*.o
+       $(RM) -f $(PROGRAMS)
+       $(RM) -f *.raw *~ *.exe
+       $(RM) -fR *.dSYM
+
+distclean: clean
+       $(RM) -f Makefile
 
 strip : 
        strip $(PROGRAMS)