diff options
Diffstat (limited to 'build2/c')
-rw-r--r-- | build2/c/init.cxx | 14 | ||||
-rw-r--r-- | build2/c/init.hxx (renamed from build2/c/init) | 14 | ||||
-rw-r--r-- | build2/c/target | 22 | ||||
-rw-r--r-- | build2/c/target.hxx | 22 |
4 files changed, 36 insertions, 36 deletions
diff --git a/build2/c/init.cxx b/build2/c/init.cxx index c5b8ac8..da57223 100644 --- a/build2/c/init.cxx +++ b/build2/c/init.cxx @@ -2,16 +2,16 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include <build2/c/init> +#include <build2/c/init.hxx> -#include <build2/scope> -#include <build2/context> -#include <build2/diagnostics> +#include <build2/scope.hxx> +#include <build2/context.hxx> +#include <build2/diagnostics.hxx> -#include <build2/cc/guess> -#include <build2/cc/module> +#include <build2/cc/guess.hxx> +#include <build2/cc/module.hxx> -#include <build2/c/target> +#include <build2/c/target.hxx> using namespace std; using namespace butl; diff --git a/build2/c/init b/build2/c/init.hxx index 3219cd3..e18a5df 100644 --- a/build2/c/init +++ b/build2/c/init.hxx @@ -1,14 +1,14 @@ -// file : build2/c/init -*- C++ -*- +// file : build2/c/init.hxx -*- C++ -*- // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#ifndef BUILD2_C_INIT -#define BUILD2_C_INIT +#ifndef BUILD2_C_INIT_HXX +#define BUILD2_C_INIT_HXX -#include <build2/types> -#include <build2/utility> +#include <build2/types.hxx> +#include <build2/utility.hxx> -#include <build2/module> +#include <build2/module.hxx> namespace build2 { @@ -34,4 +34,4 @@ namespace build2 } } -#endif // BUILD2_C_INIT +#endif // BUILD2_C_INIT_HXX diff --git a/build2/c/target b/build2/c/target deleted file mode 100644 index 5d7566b..0000000 --- a/build2/c/target +++ /dev/null @@ -1,22 +0,0 @@ -// file : build2/c/target -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD2_C_TARGET -#define BUILD2_C_TARGET - -#include <build2/types> -#include <build2/utility> - -#include <build2/cc/target> - -namespace build2 -{ - namespace c - { - using cc::h; - using cc::c; - } -} - -#endif // BUILD2_C_TARGET diff --git a/build2/c/target.hxx b/build2/c/target.hxx new file mode 100644 index 0000000..d92405d --- /dev/null +++ b/build2/c/target.hxx @@ -0,0 +1,22 @@ +// file : build2/c/target.hxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BUILD2_C_TARGET_HXX +#define BUILD2_C_TARGET_HXX + +#include <build2/types.hxx> +#include <build2/utility.hxx> + +#include <build2/cc/target.hxx> + +namespace build2 +{ + namespace c + { + using cc::h; + using cc::c; + } +} + +#endif // BUILD2_C_TARGET_HXX |