medfall

A super great game engine
Log | Files | Refs

commit 3548882530841e2f4dc1c607cb308008788c7e91
parent ae6d99d8e2f08cbda7b177e9d7e53a111764701a
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat, 13 Jan 2018 17:53:03 +0200

Build release utils if secret_key.h exists

Diffstat:
make.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make.lua b/make.lua @@ -67,7 +67,7 @@ bin( "pp", { "pp", "heightmap", "heightmap", "decompress_bc", common_objs }, { " gcc_obj_cxxflags( "pp", "-O2" ) msvc_obj_cxxflags( "pp", "/O2" ) -if OS == "linux" then +if io.open( "utils/genkeys/secret_key.h" ) then bin( "utils/b2sum/b2sum", { "utils/b2sum/b2sum", common_objs }, { "monocypher" } ) gcc_obj_cxxflags( "utils/b2/b2sum", "-O2" ) msvc_obj_cxxflags( "utils/b2/b2sum", "/O2" )