2
0

Makefile 631 B

1234567891011121314151617181920212223
  1. # Makefile for Portaudio test programs
  2. # Requires Portaudio V19
  3. CFLAGS = -g -Wall -I../src
  4. LIBS = -lm -lportaudio -pthread
  5. SRC = ../src/fdmdv.c ../src/kiss_fft.c ../src/fifo.c
  6. all: pa_rec pa_play pa_recplay pa_impresp
  7. pa_rec: Makefile pa_rec.c $(SRC)
  8. gcc $(CFLAGS) pa_rec.c $(SRC) -o pa_rec $(LIBS)
  9. pa_play: Makefile pa_play.c $(SRC)
  10. gcc $(CFLAGS) pa_play.c $(SRC) -o pa_play $(LIBS)
  11. pa_recplay: Makefile pa_recplay.c $(SRC)
  12. gcc $(CFLAGS) pa_recplay.c $(SRC) -o pa_recplay $(LIBS)
  13. pa_impresp: Makefile pa_impresp.c $(SRC)
  14. gcc $(CFLAGS) pa_impresp.c $(SRC) -o pa_impresp $(LIBS)
  15. clean:
  16. rm -f pa_rec pa_play pa_recplay