aboutsummaryrefslogtreecommitdiff
path: root/libraries/libhal/GNUmakefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-06-25 00:22:11 -0400
committerRob Austein <sra@hactrn.net>2016-06-25 00:22:11 -0400
commitaa90cb43b370ee219e1e14ad774b662a53178727 (patch)
tree7f2452ccf228ff39e14d612613ec8fbd22fe11e2 /libraries/libhal/GNUmakefile
parent41d765504350626b9c886c0e92f768184b457a54 (diff)
Finish unwinding subrepository hairball: VPATH setup.
Diffstat (limited to 'libraries/libhal/GNUmakefile')
-rw-r--r--libraries/libhal/GNUmakefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/libraries/libhal/GNUmakefile b/libraries/libhal/GNUmakefile
new file mode 100644
index 0000000..03b1636
--- /dev/null
+++ b/libraries/libhal/GNUmakefile
@@ -0,0 +1,14 @@
+ifndef CRYPTECH_ROOT
+ CRYPTECH_ROOT := $(abspath ../../../..)
+endif
+
+REPO := ${CRYPTECH_ROOT}/sw/libhal
+
+TFMDIR := $(abspath ../libtfm)
+
+CFLAGS += -I${REPO}
+
+vpath %.c ${REPO}
+vpath %.h ${REPO}:${LIBTFM_DIR}
+
+include ${CRYPTECH_ROOT}/sw/libhal/GNUmakefile