#
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Official repository: https://github.com/boostorg/beast
#

local SOURCES =
    error.cpp
    deflate_stream.cpp
    inflate_stream.cpp
    zlib.cpp
    ;

local RUN_TESTS ;

for local f in $(SOURCES)
{
    RUN_TESTS += [ run $(f)
        $(ZLIB_SOURCES)
        /boost/beast/test//lib-test
    ] ;
}

alias run-tests : $(RUN_TESTS) ;

exe fat-tests
    :
    $(ZLIB_SOURCES)
    $(SOURCES)
    /boost/beast/test//lib-test
    ;

explicit fat-tests ;

run
    $(ZLIB_SOURCES)
    $(SOURCES)
    /boost/beast/test//lib-test
    : : : : run-fat-tests ;

explicit run-fat-tests ;
