From 63a0d0e5499d3c4c4832e639479808501656e7bf Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Thu, 18 Jun 2015 23:11:09 -0400 Subject: use a variable for AR, to facilitate cross-compiling --- sw/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw/Makefile') diff --git a/sw/Makefile b/sw/Makefile index 2aa4927..fc5faa6 100755 --- a/sw/Makefile +++ b/sw/Makefile @@ -1,4 +1,5 @@ CC = gcc +AR = ar CFLAGS = -Wall -fPIC LIB = libcryptech.a @@ -16,7 +17,7 @@ all: $(LIB) $(BIN) $(CC) $(CFLAGS) -c -o $@ $< libcryptech.a: tc_eim.o novena-eim.o - ar rcs $@ $^ + $(AR) rcs $@ $^ hash_tester: hash_tester.o $(LIB) $(CC) -o $@ $^ -- cgit v1.2.3