aboutsummaryrefslogtreecommitdiffstats
path: root/channels/Makefile
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-06 08:17:42 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-06 08:17:42 +0000
commitb7f6951c5cac695ac6290e84ad03b007bc2f42c8 (patch)
tree1a82c59ce19777e93dfa149b82fbe019bfc79a77 /channels/Makefile
parent4048d8e9e615c9d0330eb8c9b59c1bb8c464a737 (diff)
explain that the host environment must be used to build gentone;
Remove unset variables, they would be misleading. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88913 f38db490-d61c-443f-a65b-d21fe96a405b
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