Makefile.conf
author Damiano Boppart <damiano@pep-security.net>
Mon, 14 Aug 2017 11:15:24 +0200
branchENGINE-228
changeset 1960 3e0027330faa
parent 1958 433df9ee336d
child 1962 b88394894238
permissions -rw-r--r--
Fix incorrect copyright statement
     1 # Copyright 2017, pEp Foundation
     2 # This file is part of pEpEngine
     3 # This file may be used under the terms of the GNU General Public License version 3
     4 # see LICENSE.txt
     5 
     6 # To use custom build configuration variables, put them in a new file at `build-config/<name>.conf`. Execute `export PLATFORM_OVERRIDE=<name>` before running make. If this environment variable is not set, make will load a default configuration for your platform.
     7 
     8 include build-config/common.conf
     9 # cross-compiling is currently not supported, but maybe you can hack something with `PLATFORM_OVERRIDE`
    10 ifeq ($(BUILD_ON),$(BUILD_FOR))
    11     include build-config/$(BUILD_ON).conf
    12 else
    13     $(error I don't know how to build for $(BUILD_FOR) on $(BUILD_ON))
    14 endif
    15 ifdef PLATFORM_OVERRIDE
    16     include build-config/$(PLATFORM_OVERRIDE).conf
    17 endif