]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
use the build machine cc to build the code generators
authorMichael Jerris <mike@jerris.com>
Thu, 10 Dec 2009 01:17:41 +0000 (01:17 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 10 Dec 2009 01:17:41 +0000 (01:17 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15864 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/spandsp/src/Makefile.am

index 831e50ca68c54bab111de26e0b78f2c10cee5b46..4a450f04cd84f9f9374a184329c538c5b9d7b86c 100644 (file)
@@ -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