From 7a3df1cd9406ef0f46af518974c1e87aa1d5cb5f Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Wed, 18 Sep 2013 15:45:31 -0400 Subject: autotools: fix the Makefile.include to be safely included anywhere. This way we can reuse rules rather than duplicating them. --- src/Makefile.include | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/Makefile.include') diff --git a/src/Makefile.include b/src/Makefile.include index d002e8ed6f..352471061d 100644 --- a/src/Makefile.include +++ b/src/Makefile.include @@ -1,13 +1,11 @@ -.PHONY: FORCE +# Helper for rules and subdir Makefiles to find parent targets. +# Flags and other non-target variables should not be set here. LIBBITCOIN=$(top_builddir)/src/libbitcoin.a LIBLEVELDB=$(top_builddir)/src/leveldb/libleveldb.a LIBMEMENV=$(top_builddir)/src/leveldb/libmemenv.a LIBBITCOINQT=$(top_builddir)/src/qt/libbitcoinqt.a -INCLUDES += $(BDB_CPPFLAGS) -LIBBITCOIN += $(BDB_LIBS) - $(LIBBITCOIN): $(MAKE) -C $(top_builddir)/src $(@F) -- cgit v1.2.3