From ce8f42a5182a4c365e9ae2703f41efdefa6420c9 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 23 Jun 2015 18:15:27 -0400 Subject: add tools to configure and start an FPGA bitstream --- sw/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sw/Makefile') 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: -- cgit v1.2.3