From ca7d414eb83b20334af28c92cc5aa541eff9280a Mon Sep 17 00:00:00 2001
From: Michael Jerris <mike@jerris.com>
Date: Thu, 10 Dec 2009 01:17:41 +0000
Subject: [PATCH] use the build machine cc to build the code generators

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15864 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 libs/spandsp/src/Makefile.am | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libs/spandsp/src/Makefile.am b/libs/spandsp/src/Makefile.am
index 831e50ca68..4a450f04cd 100644
--- a/libs/spandsp/src/Makefile.am
+++ b/libs/spandsp/src/Makefile.am
@@ -287,11 +287,11 @@ noinst_HEADERS =        faxfont.h \
                         v17_v32bis_tx_constellation_maps.h \
                         v29tx_constellation_maps.h
 
-noinst_PROGRAMS = make_at_dictionary \
-                  make_modem_filter
+make_at_dictionary$(EXEEXT): $(abs_srcdir)/make_at_dictionary.c
+	$(CC_FOR_BUILD) -o make_at_dictionary$(EXEEXT) $(abs_srcdir)/make_at_dictionary.c  -DHAVE_CONFIG_H 
 
-make_modem_filter_SOURCES = make_modem_filter.c \
-                            filter_tools.c
+make_modem_filter$(EXEEXT): $(abs_srcdir)/make_modem_filter.c $(abs_srcdir)/filter_tools.c 
+	$(CC_FOR_BUILD) -o make_modem_filter$(EXEEXT) $(abs_srcdir)/make_modem_filter.c $(abs_srcdir)/filter_tools.c -DHAVE_CONFIG_H
 
 # We need to run make_at_dictionary, so it generates the
 # at_interpreter_dictionary.h file