aboutsummaryrefslogtreecommitdiff
path: root/libhal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libhal/Makefile')
-rw-r--r--libhal/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/libhal/Makefile b/libhal/Makefile
new file mode 100644
index 0000000..82fc389
--- /dev/null
+++ b/libhal/Makefile
@@ -0,0 +1,15 @@
+ifndef CRYPTECH_ROOT
+ CRYPTECH_ROOT := $(abspath ../../..)
+endif
+
+TFMDIR := $(abspath ../libtfm)
+
+INC = ${CRYPTECH_ROOT}/sw/libhal/hal.h
+LIB = ../libhal.a
+
+CFLAGS += -I${CRYPTECH_ROOT}/sw/libhal
+
+vpath %.c ${CRYPTECH_ROOT}/sw/libhal
+vpath %.h ${CRYPTECH_ROOT}/sw/libhal:${LIBTFM_DIR}
+
+include ${CRYPTECH_ROOT}/sw/libhal/Makefile