summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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