urbit/outside/scrypt/Makefile
2015-05-03 16:31:45 -07:00

17 lines
242 B
Makefile

default: all
CC?=gcc
CFLAGS?=-O2 -msse3 -ffast-math \
-Wall -g -D_FORTIFY_SOURCE=2 -fPIC
CFLAGS_EXTRA?=-Wl,-rpath=.
all: scrypt.a
OBJS= crypto_scrypt-sse.o sha256.o
scrypt.a: $(OBJS)
ar rcs scrypt.a $(OBJS)
clean:
rm -f *.o scrypt.a