forked from boostorg/beast
42 lines
911 B
Plaintext
42 lines
911 B
Plaintext
#
|
|
# 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 ZLIB_SOURCES =
|
|
zlib-1.2.11/adler32.c
|
|
zlib-1.2.11/compress.c
|
|
zlib-1.2.11/crc32.c
|
|
zlib-1.2.11/deflate.c
|
|
zlib-1.2.11/infback.c
|
|
zlib-1.2.11/inffast.c
|
|
zlib-1.2.11/inflate.c
|
|
zlib-1.2.11/inftrees.c
|
|
zlib-1.2.11/trees.c
|
|
zlib-1.2.11/uncompr.c
|
|
zlib-1.2.11/zutil.c
|
|
;
|
|
|
|
local SOURCES =
|
|
error.cpp
|
|
deflate_stream.cpp
|
|
inflate_stream.cpp
|
|
;
|
|
|
|
local RUN_TESTS ;
|
|
|
|
for local f in $(SOURCES)
|
|
{
|
|
RUN_TESTS += [ run $(f) $(TEST_MAIN) $(ZLIB_SOURCES) ] ;
|
|
}
|
|
|
|
alias run-tests : $(RUN_TESTS) ;
|
|
|
|
exe fat-tests : $(TEST_MAIN) $(ZLIB_SOURCES) $(SOURCES) ;
|
|
|
|
explicit fat-tests ;
|