diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-11-28 13:34:33 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-11-28 13:34:33 +0000 |
commit | 6ecdbe426f0630c1ffb85e5e93758ae3e53aba22 (patch) | |
tree | a6ca79d72bddf6df6be416efd239906dc1089a4c /xpp/utils | |
parent | bead7fc736649861046a768892ed26d50fb3e554 (diff) |
r1547@boole: russell | 2006-11-01 21:04:02 +0200
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/branches/1.2@1647 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/utils')
-rw-r--r-- | xpp/utils/Makefile | 3 |
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) >$@ |