
 ###########################################################################
 #                                                                         #
 # Makefile for use with Edinburgh Speech Tools Library
 #                                                                         #
 ###########################################################################

EST_HOME=/home/marillat/src/cinelerra-4.5/thirdparty/speech_tools

EXECS = 

all: $(EXECS)

## PROGRAMS

## RULES

$(EXECS) : % : %.o $(%_OBJ)
	ccache gcc -O3 -Wall    -o $* $($*_OBJ) $($*_LIBS)   -L$(EST_HOME)/lib -lestools -L$(EST_HOME)/lib -lestbase -L$(EST_HOME)/lib -leststring   -ltermcap   -ldl -lncurses -lm  -lstdc++ -lgcc 

%.o: %.cc
	ccache gcc -c  -fno-implicit-templates  -O3 -Wall           -I$(EST_HOME)/include     $($*_INCLUDES) $($*_DEFINES) $*.cc

%.o: %.c
	ccache gcc -c  -fno-implicit-templates  -O3 -Wall           -I$(EST_HOME)/include     $($*_INCLUDES) $($*_DEFINES) $*.c
