From f36b76d24a44a688ec18b0c3ffc01f7244d1ad13 Mon Sep 17 00:00:00 2001 From: markster Date: Tue, 6 May 2003 00:00:20 +0000 Subject: dep fix, pbx fix git-svn-id: http://svn.digium.com/svn/asterisk/trunk@962 f38db490-d61c-443f-a65b-d21fe96a405b --- agi/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'agi/Makefile') diff --git a/agi/Makefile b/agi/Makefile index bb12d1597..c1b35de44 100755 --- a/agi/Makefile +++ b/agi/Makefile @@ -15,7 +15,7 @@ AGIS=agi-test.agi eagi-test eagi-sphinx-test CFLAGS+= -all: $(AGIS) +all: depend $(AGIS) install: all for x in $(AGIS); do $(INSTALL) -m 755 $$x $(AGI_DIR) ; done @@ -27,7 +27,14 @@ eagi-sphinx-test: eagi-sphinx-test.o $(CC) -o eagi-sphinx-test eagi-sphinx-test.o clean: - rm -f *.so *.o look + rm -f *.so *.o look .depend %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< + +include .depend + +depend: .depend + +.depend: + ../mkdep $(CFLAGS) `ls *.c` -- cgit v1.2.3