From 6c7ea9977c45116cc51aba7a4486059926d01113 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 26 Jun 2016 01:04:05 -0400 Subject: More GNUmakefile cleanup. --- libhal/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libhal/Makefile (limited to 'libhal/Makefile') 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 -- cgit v1.2.3