diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-06 00:00:20 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-06 00:00:20 +0000 |
commit | f36b76d24a44a688ec18b0c3ffc01f7244d1ad13 (patch) | |
tree | a420a69f2f690405d9bc3d526e46be177d3ff80d /astman/Makefile | |
parent | 1d55ef4a3e78c00ce605a5a9abc30cf0eecfeb80 (diff) |
dep fix, pbx fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@962 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'astman/Makefile')
-rwxr-xr-x | astman/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/astman/Makefile b/astman/Makefile index 9698d6280..7b9d20f6f 100755 --- a/astman/Makefile +++ b/astman/Makefile @@ -3,7 +3,7 @@ # CFLAGS+=-DNO_AST_MM TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else echo "none" ; fi) -all: $(TARGET) +all: depend $(TARGET) install: if [ "$(TARGET)" != "none" ]; then \ @@ -16,7 +16,15 @@ none: @echo Not building the Asterisk Manager "astman" clean: - rm -f *.o astman + rm -f *.o astman .depend astman: astman.o ../md5.o $(CC) -o astman astman.o ../md5.o -lnewt + +include .depend + +depend: .depend + +.depend: + ../mkdep $(CFLAGS) `ls *.c` + |