summaryrefslogtreecommitdiff
path: root/channels/Makefile
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-11-06 08:17:42 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-11-06 08:17:42 +0000
commit43f00fec19d76a6fb1bf917e1f3d51faeced4425 (patch)
tree1a82c59ce19777e93dfa149b82fbe019bfc79a77 /channels/Makefile
parent3881889a0f8c1bfb0fe731b074529e26a0cba659 (diff)
explain that the host environment must be used to build gentone;
Remove unset variables, they would be misleading. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/Makefile')
-rw-r--r--channels/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/channels/Makefile b/channels/Makefile
index d5e46b225..092dee93d 100644
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -83,15 +83,15 @@ endif
dist-clean::
rm -f h323/Makefile
+# gentone must be built with the HOST environment
gentone: gentone.c
- $(ECHO_PREFIX) echo " [LD] $^ -> $@"
- $(CMD_PREFIX) $(HOST_CC) $(STATIC_BUILD) -o $@ $(HOST_CFLAGS) $(HOST_LDFLAGS) $^ $(LIBS)
-gentone: LIBS+=-lm
+ $(ECHO_PREFIX) echo " [HOST_CC] $^ -> $@"
+ $(CMD_PREFIX) $(HOST_CC) -o $@ $^ -lm
-busy.h:
+busy.h: gentone
./gentone busy 480 620
-ringtone.h:
+ringtone.h: gentone
./gentone ringtone 440 480
$(if $(filter chan_iax2,$(EMBEDDED_MODS)),modules.link,chan_iax2.so): iax2-parser.o iax2-provision.o