summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-06-26 06:27:25 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-06-26 06:27:25 +0000
commit67ea3b2d22af6ab43dbb18d088e82ca2be7aea8e (patch)
treea560faf0818bc7cccec4dc015dcb1f73c4f2dfa8 /Makefile
parentb3c6e18a5e42b10ba84824ef0aed461297377ca6 (diff)
simplify special rule for channel.o
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 59e606329..be6bdf039 100644
--- a/Makefile
+++ b/Makefile
@@ -472,8 +472,7 @@ include/asterisk/buildopts.h: menuselect.makeopts
fi
@rm -f $@.tmp
-channel.o: channel.c
- $(CC) -c -o $@ $< $(CFLAGS) $(ZAPTEL_INCLUDE)
+channel.o: CFLAGS+=$(ZAPTEL_INCLUDE)
asterisk: include/asterisk/buildopts.h editline/libedit.a db1-ast/libdb1.a $(OBJS)
build_tools/make_build_h > include/asterisk/build.h.tmp