diff options
author | Rob Austein <sra@hactrn.net> | 2016-06-26 01:04:05 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-06-26 01:04:05 -0400 |
commit | 6c7ea9977c45116cc51aba7a4486059926d01113 (patch) | |
tree | ae5f4cc31d2a5c4d2688f3dfdca543e81c7c95e1 /libhal/Makefile | |
parent | b996343a3b07228ca34e6b0df4cc7c1033e48af5 (diff) |
More GNUmakefile cleanup.
Diffstat (limited to 'libhal/Makefile')
-rw-r--r-- | libhal/Makefile | 15 |
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 |