explain that the host environment must be used to build gentone;
authorLuigi Rizzo <rizzo@icir.org>
Tue, 6 Nov 2007 08:17:42 +0000 (08:17 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Tue, 6 Nov 2007 08:17:42 +0000 (08:17 +0000)
Remove unset variables, they would be misleading.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88913 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/Makefile

index d5e46b2..092dee9 100644 (file)
@@ -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