Revision
15864
Author
mikej
Date
2009-12-09 19:17:41 -0600 (Wed, 09 Dec 2009)

Log Message

use the build machine cc to build the code generators

Modified Paths

Diff

Modified: freeswitch/trunk/libs/spandsp/src/Makefile.am (15863 => 15864)


--- freeswitch/trunk/libs/spandsp/src/Makefile.am	2009-12-10 00:43:33 UTC (rev 15863)
+++ freeswitch/trunk/libs/spandsp/src/Makefile.am	2009-12-10 01:17:41 UTC (rev 15864)
@@ -287,11 +287,11 @@
                         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