diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2013-09-18 15:45:31 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2013-09-18 17:12:39 -0400 |
commit | 7a3df1cd9406ef0f46af518974c1e87aa1d5cb5f (patch) | |
tree | 44809b27815c48b6dd7bff0478cde56fbc6b5e54 /src/Makefile.include | |
parent | c546dc05bb5f0e6020a7e3ecf5cda70f0f472d76 (diff) |
autotools: fix the Makefile.include to be safely included anywhere.
This way we can reuse rules rather than duplicating them.
Diffstat (limited to 'src/Makefile.include')
-rw-r--r-- | src/Makefile.include | 6 |
1 files changed, 2 insertions, 4 deletions
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) |