diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-12-16 21:24:52 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-12-16 21:24:52 +0000 |
commit | 89c41e24036ba449acc3d95a937278a1afe1c636 (patch) | |
tree | 503069dfa8efbd93da1c5bbf64bbf733d5eaedb3 /agi | |
parent | a2ec1d322cd3bfdc9b1e16e114518eb19815f91e (diff) |
Merged revisions 48525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48525 | kpfleming | 2006-12-16 15:14:34 -0600 (Sat, 16 Dec 2006) | 2 lines
simplify dependency tracking system, using the compiler's built-in method for generating them, and only doing dependency tracking if developer mode is enabled via the configure script
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'agi')
-rw-r--r-- | agi/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/agi/Makefile b/agi/Makefile index 3a3495138..4066cda0b 100644 --- a/agi/Makefile +++ b/agi/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend all depend uninstall +.PHONY: clean all uninstall AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi @@ -37,18 +37,11 @@ install: all uninstall: for x in $(AGIS); do rm -f $(DESTDIR)$(AGI_DIR)/$$x ; done -clean-depend: - rm -f .depend - -clean: clean-depend +clean: rm -f *.so *.o look eagi-test eagi-sphinx-test + rm -f .*.o.d .*.oo.d rm -f strcompat.c -ifneq ($(wildcard .depend),) - include .depend +ifneq ($(wildcard .*.d),) + include .*.d endif - -depend: .depend - -.depend: - ../build_tools/mkdep $(CFLAGS) `ls *.c` |