From 248bc9159c0b515e3e276db644744161283881ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 15 Oct 2016 12:39:28 +0200 Subject: drivers: Refactor SCsub and drop redundant env_drivers clone The reordering of the SConscript includes allows to ensure that stuff like the builtin zlib headers will be available for libpng. Also moved glew back into global env, otherwise windows seems not to find it... Kind of shooting in the dark with this multi-env setup. --- drivers/nrex/SCsub | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'drivers/nrex/SCsub') diff --git a/drivers/nrex/SCsub b/drivers/nrex/SCsub index a00c7b86f4..0582e01978 100644 --- a/drivers/nrex/SCsub +++ b/drivers/nrex/SCsub @@ -1,7 +1,5 @@ Import('env') -sources = [ - 'nrex.cpp', - 'regex.cpp', -] -env.add_source_files(env.drivers_sources, sources) +env.add_source_files(env.drivers_sources, "*.cpp") + +Export('env') -- cgit v1.2.3