summaryrefslogtreecommitdiff
path: root/xpp
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-11-01 19:10:56 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-11-01 19:10:56 +0000
commit48689826a94c19de3897757c18c07c767a501e43 (patch)
tree26e9f0d165cd1a1a0c92ce41eb91ddf6a10fc799 /xpp
parent15eb19afe3cbe114092a86b7d20825e21274a731 (diff)
Merged revisions 1547 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4 ........ r1547 | russell | 2006-11-01 14:04:02 -0500 (Wed, 01 Nov 2006) | 3 lines instead of setting HOSTCC and CC directly in the Makefile, use the information provided by the configure script (issue #8055, tzafrir) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1548 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp')
-rw-r--r--xpp/utils/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/xpp/utils/Makefile b/xpp/utils/Makefile
index 7dc4fa2..b7d77f3 100644
--- a/xpp/utils/Makefile
+++ b/xpp/utils/Makefile
@@ -48,7 +48,8 @@ test_parse.o: test_parse.c hexfile.h
test_parse: test_parse.o libhexfile.a
$(CC) -L. -o $@ $@.o $(EXTRA_LIBS) -lhexfile -lusb
-print_modes.o: wctdm_fxomodes.h
+print_modes.o: print_modes.c wctdm_fxomodes.h
+ $(HOSTCC) $(CFLAGS) -c $^
wctdm_fxomodes.h: $(WCTDM)
perl -n -e 'print if (/^static struct fxo_mode {$$/ .. /};$$/)' $(WCTDM) >$@