simplify special rule for channel.o
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 26 Jun 2006 06:27:25 +0000 (06:27 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 26 Jun 2006 06:27:25 +0000 (06:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35944 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 59e6063..be6bdf0 100644 (file)
--- 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