aboutsummaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2018-08-12 15:21:46 -0400
committerPaul Selkirk <paul@psgd.org>2018-08-12 15:21:46 -0400
commitdfc25221fb6fa12d4523caf5aeaf400057e0ab7e (patch)
treece638cc9f3bcc61522fd146777ff12745cc0f0cd /utils/Makefile
parent7537c3a6f3c50301f220a0f1500afda904b4a2cf (diff)
Simplify makefile to make them easier to use with non-default directory names
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/utils/Makefile b/utils/Makefile
index ce36d4c..c9899f6 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -1,4 +1,4 @@
-# Copyright (c) 2015-2016, NORDUnet A/S
+# Copyright (c) 2015-2018, NORDUnet A/S
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -27,19 +27,12 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-ifndef CRYPTECH_ROOT
- CRYPTECH_ROOT := $(abspath ../../..)
-endif
-
-LIBTFM_SRC ?= ${CRYPTECH_ROOT}/sw/thirdparty/libtfm
-LIBTFM_BLD ?= ${LIBTFM_SRC}
-
-LIBHAL_SRC ?= ${CRYPTECH_ROOT}/sw/libhal
+LIBHAL_SRC ?= ..
LIBHAL_BLD ?= ${LIBHAL_SRC}
-LIBS = ${LIBHAL_BLD}/libhal.a ${LIBTFM_BLD}/libtfm.a
+LIBS = ${LIBHAL_BLD}/libhal.a
-CFLAGS ?= -g3 -Wall -fPIC -std=c99 -I${LIBHAL_SRC} -I${LIBTFM_BLD}
+CFLAGS ?= -g3 -Wall -fPIC -std=c99 -I${LIBHAL_SRC}
BIN = eim_peek_poke cores