Adapted Phil Sutter's ARM fix in new codebase.
[cryptodev-linux.git] / lib / Makefile
blobaf87795b8dcc10efb17dabfbb7310eb0868931c0
1 CFLAGS=-g -O2 -Wall
3 all: benchmark
5 benchmark: main.c libthreshold.a
6 gcc $(CFLAGS) -DDEBUG -o $@ $^ -lssl libthreshold.a
8 .o:
9 gcc $(CCFLAGS) -c $< -o $@
11 libthreshold.a: benchmark.o hash.o threshold.o combo.o
12 ar rcs $@ $^
14 clean:
15 rm -f *.o *~ benchmark libthreshold.a