aboutsummaryrefslogtreecommitdiff
path: root/sw/Makefile
diff options
context:
space:
mode:
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: