aboutsummaryrefslogtreecommitdiff
path: root/sw/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-06-23 18:15:27 -0400
committerPaul Selkirk <paul@psgd.org>2015-06-23 18:15:27 -0400
commitce8f42a5182a4c365e9ae2703f41efdefa6420c9 (patch)
treed80a9eda3bb94648121d7a5c49a60698b7b9d01d /sw/Makefile
parent63a0d0e5499d3c4c4832e639479808501656e7bf (diff)
add tools to configure and start an FPGA bitstream
Diffstat (limited to 'sw/Makefile')
-rwxr-xr-xsw/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/Makefile b/sw/Makefile
index fc5faa6..928466e 100755
--- a/sw/Makefile
+++ b/sw/Makefile
@@ -3,7 +3,7 @@ AR = ar
CFLAGS = -Wall -fPIC
LIB = libcryptech.a
-BIN = hash hash_tester trng_extractor trng_tester aes_tester modexp_tester
+BIN = hash hash_tester trng_extractor trng_tester aes_tester modexp_tester devmem3
INC = cryptech.h
PREFIX = /usr/local
@@ -37,14 +37,17 @@ hash: hash.o $(LIB)
trng_extractor: trng_extractor.o $(LIB)
$(CC) -o $@ $^
+devmem3: devmem3.o $(LIB)
+ $(CC) -o $@ $^
+
install: $(LIB) $(BIN) $(INC)
install $(LIB) $(LIB_DIR)
- install $(BIN) $(BIN_DIR)
+ install $(BIN) configure-fpga.sh $(BIN_DIR)
install $(INC) $(INC_DIR)
uninstall:
rm -f $(LIB_DIR)/$(LIB)
- rm -f $(foreach bin,$(BIN),$(BIN_DIR)/$(bin))
+ rm -f $(foreach bin,$(BIN) configure-fpga.sh,$(BIN_DIR)/$(bin))
rm -f $(INC_DIR)/$(INC)
clean: