41 lines
675 B
Plaintext
Executable File
41 lines
675 B
Plaintext
Executable File
SOURCES =
|
|
entry.cpp
|
|
peer_connection.cpp
|
|
piece_picker.cpp
|
|
policy.cpp
|
|
session.cpp
|
|
# socket_bsd.cpp
|
|
socket_win.cpp
|
|
stat.cpp
|
|
storage.cpp
|
|
torrent.cpp
|
|
torrent_info.cpp
|
|
url_handler.cpp
|
|
sha1.c
|
|
;
|
|
|
|
lib torrent
|
|
: src/$(SOURCES)
|
|
: <include>$(BOOST_ROOT)
|
|
<sysinclude>$(BOOST_ROOT)
|
|
<include>./include
|
|
<include>./
|
|
<threading>multi
|
|
<link>static
|
|
: debug release
|
|
;
|
|
|
|
|
|
exe client_test
|
|
: examples/client_test.cpp
|
|
<lib>torrent
|
|
# <lib>$(BOOST_ROOT)/libs/filesystem/build/boost_filesystem
|
|
# <dll>$(BOOST_ROOT)/libs/thread/build/boost_thread
|
|
: <include>$(BOOST_ROOT)
|
|
<sysinclude>$(BOOST_ROOT)
|
|
<include>./include
|
|
<threading>multi
|
|
: debug release
|
|
;
|
|
|