Firmwares/lwc/Makefile

37 lines
1020 B
Makefile

# Copyright (C) 2021 SCARV project <info@scarv.org>
#
# Use of this source code is restricted per the MIT license, a copy of which
# can be found at https://opensource.org/licenses/MIT (or should be included
# as LICENSE.txt within the associated archive or repository).
export REPO_HOME = ${PWD}
# =============================================================================
export ALG ?= ascon
export API ?= aead
export ARCH ?= generic
export IMP ?= nist
export ISE ?= xalu
export CONF ?=
# -----------------------------------------------------------------------------
sw-build :
@make --directory="${REPO_HOME}/src" build
sw-run :
@make --directory="${REPO_HOME}/src" run
sw-scan :
@make --directory="${REPO_HOME}/src" scan
sw-clean :
@make --directory="${REPO_HOME}/src" clean
# -----------------------------------------------------------------------------
clean :
@rm --force --recursive ${REPO_HOME}/build/*
# =============================================================================