From 25aff35374025bb66e7dcb60e010825f14a1e2ea Mon Sep 17 00:00:00 2001 From: paulc Date: Wed, 10 Nov 2004 17:51:54 +0000 Subject: [PATCH] Fixed some missing dependencies and worked around a bug in the Debian version of echo command in make. git-svn-id: http://yate.null.ro/svn/yate/trunk@111 acf43c95-373e-0410-b603-e72c3f656dc1 --- Makefile.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 80fc1bb2..e8da3a9c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -97,8 +97,9 @@ tables: @srcdir@/tables/all.h @srcdir@/tables/all.h: $(MAKE) -C @srcdir@/tables -f Makefile.tables all -yatepaths.h: - @echo -en '#define MOD_PATH "$(DESTDIR)$(moddir)"\n#define CFG_PATH "$(DESTDIR)$(confdir)"\n' > $@ +yatepaths.h: Makefile + @echo '#define MOD_PATH "$(DESTDIR)$(moddir)"' > $@ + @echo '#define CFG_PATH "$(DESTDIR)$(confdir)"' >> $@ .PHONY: everything everything: all apidocs test @@ -183,6 +184,12 @@ snapshot tarball: check-topdir clean tables apidocs check-topdir: @test -f configure || (echo "Must make this target in the top source directory"; exit 1) +Engine.o: @srcdir@/Engine.cpp @srcdir@/telengine.h yatepaths.h + $(COMPILE) -c $< + +DataBlock.o: @srcdir@/DataBlock.cpp @srcdir@/telengine.h @srcdir@/telephony.h + $(COMPILE) -c $< + %.o: @srcdir@/%.cpp @srcdir@/telengine.h $(COMPILE) -c $<