2
0

Makefile 474 B

12345678910111213141516171819
  1. # Requires FLTK 1.3 & Portaudio V19
  2. FLTK_VER = $(shell fltk-config --api-version)
  3. ifneq ($(FLTK_VER),1.3)
  4. $(error Must use FLTK version 1.3, you have $(FLTK_VER))
  5. endif
  6. FLTK_CFLAGS += $(shell fltk-config --ldstaticflags)
  7. CFLAGS = -O3 -g -Wall
  8. LIBS = ../src/.libs/libcodec2.a -lm -lrt -lportaudio -pthread
  9. LC2POC_C = fl_fdmdv.cxx
  10. all: fl_fdmdv
  11. fl_fdmdv: Makefile $(LC2POC_C)
  12. g++ $(LC2POC_C) -I../src/ -o fl_fdmdv $(CFLAGS) $(FLTK_CFLAGS) $(LIBS)
  13. clean:
  14. rm -f fl_fdmdv