Mercurial > hg > forks > yadex
changeset 2:70951bfb02b1
Fix a dependency problem. Old patch from André Majorel.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 21 Sep 2011 04:34:50 +0300 |
parents | bb0c840d1bf2 |
children | 7817e13d25ea |
files | GNUmakefile |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/GNUmakefile Wed Sep 21 04:33:37 2011 +0300 +++ b/GNUmakefile Wed Sep 21 04:34:50 2011 +0300 @@ -609,8 +609,9 @@ # ######################################################################## -# If Makefile.config doesn't exist, give a hint... +# If Makefile.config or config.h don't exist, give a hint... $(OBJDIR)/Makefile.config: +$(OBJDIR)/config.h: @echo "Sorry guv'nor, but... did you run ./configure ?" >&2 @false @@ -637,7 +638,7 @@ # Note: the modules of Atclib are not scanned as they all # depend on $(HEADERS_ATCLIB) and nothing else. -yadex.dep: $(SRC_NON_GEN) +yadex.dep: $(SRC_NON_GEN) src/config.h @echo "Generating $@" @makedepend -f- -Y -Iatclib $(SRC_NON_GEN) 2>/dev/null \ | awk 'sub (/^src/, "") == 1 { \