summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-09-27 15:52:17 +0000
committerMark Spencer <markster@digium.com>2003-09-27 15:52:17 +0000
commitdf0c9bee9446adf6dc0b5cc896a705f01fa96db9 (patch)
tree29024470afdff763cde429f158e7427624b2f195
parentf6c0dd8c4d59c3c53330d602acd891830ba8bb36 (diff)
Fix build fix (bug #321)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xMakefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b904fa6b9..1884f1761 100755
--- a/Makefile
+++ b/Makefile
@@ -155,10 +155,11 @@ all: depend asterisk subdirs
editline/config.h:
cd editline && unset CFLAGS LIBS && ./configure ; \
-editline/libedit.a:
+editline/libedit.a: FORCE
+ cd editline && unset CFLAGS LIBS && test -f config.h || ./configure
$(MAKE) -C editline libedit.a
-db1-ast/libdb1.a:
+db1-ast/libdb1.a: FORCE
@if [ -d db1-ast ]; then \
$(MAKE) -C db1-ast libdb1.a ; \
else \
@@ -194,7 +195,7 @@ build.h:
./make_build_h
endif
-stdtime/libtime.a:
+stdtime/libtime.a: FORCE
@if [ -d stdtime ]; then \
$(MAKE) -C stdtime libtime.a ; \
else \
@@ -415,3 +416,4 @@ depend: .depend
.depend:
./mkdep ${CFLAGS} `ls *.c`
+FORCE: