X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmakefile.bsd;h=8589d158f046452de438cff4b3d80a14da599bab;hb=7b4cc85e8ad9011daf1da769cb1426e803a1518d;hp=11172cae18354e0df28b67e0763a75e853e831a1;hpb=a0e4298351762af60981392cf78f15b0c0e25330;p=novacoin.git diff --git a/src/makefile.bsd b/src/makefile.bsd index 11172ca..8589d15 100644 --- a/src/makefile.bsd +++ b/src/makefile.bsd @@ -168,6 +168,13 @@ obj/scrypt-generic.o: scrypt-generic.c $(CC) -c $(xCXXFLAGS) -MMD -o $@ $< endif +ifeq (${USE_SSE2}, 1) + DEFS += -DUSE_SSE2 + OBJS += obj/scrypt-sse2.o +obj/scrypt-sse2.o: scrypt-sse2.cpp + $(CXX) -c $(CFLAGS) -MMD -o $@ $< +endif + # auto-generated dependencies: -include obj/*.P