summaryrefslogtreecommitdiff
path: root/channels/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-07-15 16:40:05 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-07-15 16:40:05 +0000
commit396ef6f9e7447e443c7dcd491a7ae47eff0e9877 (patch)
tree6710f23464cdc313d919ab803aae67e1d4f9b631 /channels/Makefile
parentad2a107e334979a7fe5fe89f2cb895fb9c47b9c4 (diff)
use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/Makefile')
-rw-r--r--channels/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/Makefile b/channels/Makefile
index 37340f887..55fa4ae47 100644
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -68,7 +68,7 @@ ifneq ($(wildcard $(PWD)/Makefile.ast),)
endif
$(eval $(call ast_make_final_host,gentone,gentone.c))
-gentone: LDFLAGS+=-lm
+gentone: LIBS+=-lm
busy.h: gentone
./gentone busy 480 620
@@ -98,4 +98,4 @@ chan_misdn.o: CFLAGS+=-Imisdn -DCHAN_MISDN_VERSION=\"0.3.0\"
misdn_config.o: CFLAGS+=-Imisdn -DCHAN_MISDN_VERSION=\"0.3.0\"
chan_misdn.so: chan_misdn.o misdn_config.o misdn/chan_misdn_lib.a
-chan_misdn.so: LDFLAGS+=-lisdnnet -lmISDN
+chan_misdn.so: LIBS+=-lisdnnet -lmISDN