X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmakefile.osx;h=3a4a80c042543f42fad3311ddfa9da9518fcef0c;hb=f54abc022ebe79879fccb088fd22696be4bc65de;hp=f24eb522da7a127befdee3ffe6ae1f420d3ba2ed;hpb=e9987509a10799a007e1a87286284558f3b80a90;p=novacoin.git diff --git a/src/makefile.osx b/src/makefile.osx index f24eb52..3a4a80c 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -144,14 +144,16 @@ OBJS += obj/scrypt-generic.o 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 +ifneq (${USE_SSE2}, 1) and eq (${USE_ASM}, 1) +DEFS += -DUSE_SSE2 +OBJS += obj/scrypt-sse2.o + obj/scrypt-sse2.o: scrypt-sse2.cpp $(CXX) -c $(CFLAGS) -MMD -o $@ $< endif +endif + # auto-generated dependencies: -include obj/*.P