From: drowe67 Date: Thu, 26 Jul 2012 09:51:49 +0000 (+0000) Subject: Makefile check fltk version, thanks Joel X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=ff654545dc0d4dfea1efdd70eda01188106d3e23;p=freetel-svn-tracking.git Makefile check fltk version, thanks Joel git-svn-id: https://svn.code.sf.net/p/freetel/code@596 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/fltk/Makefile b/codec2-dev/fltk/Makefile index a295f59c..f29d2cd6 100644 --- a/codec2-dev/fltk/Makefile +++ b/codec2-dev/fltk/Makefile @@ -1,5 +1,10 @@ # 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