20 lines
474 B
Makefile
20 lines
474 B
Makefile
# Requires FLTK 1.3 & Portaudio V19
|
|
|
|
FLTK_VER = $(shell fltk-config --api-version)
|
|
ifneq ($(FLTK_VER),1.3)
|
|
$(error Must use FLTK version 1.3, you have $(FLTK_VER))
|
|
endif
|
|
|
|
FLTK_CFLAGS += $(shell fltk-config --ldstaticflags)
|
|
CFLAGS = -O3 -g -Wall
|
|
LIBS = ../src/.libs/libcodec2.a -lm -lrt -lportaudio -pthread
|
|
LC2POC_C = fl_fdmdv.cxx
|
|
|
|
all: fl_fdmdv
|
|
|
|
fl_fdmdv: Makefile $(LC2POC_C)
|
|
g++ $(LC2POC_C) -I../src/ -o fl_fdmdv $(CFLAGS) $(FLTK_CFLAGS) $(LIBS)
|
|
|
|
clean:
|
|
rm -f fl_fdmdv
|