diff options
| author | Cory Fields <[email protected]> | 2013-09-18 15:45:31 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2013-09-18 17:12:39 -0400 |
| commit | 7a3df1cd9406ef0f46af518974c1e87aa1d5cb5f (patch) | |
| tree | 44809b27815c48b6dd7bff0478cde56fbc6b5e54 /src/Makefile.include | |
| parent | autotools: fix subdir m4 check, never let it return -I (diff) | |
| download | discoin-7a3df1cd9406ef0f46af518974c1e87aa1d5cb5f.tar.xz discoin-7a3df1cd9406ef0f46af518974c1e87aa1d5cb5f.zip | |
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 d002e8ed6..352471061 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) |