Fix some configuration issues.
[novacoin.git] / src / makefile.unix
index f6eab90..4ef89d5 100644 (file)
@@ -173,14 +173,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
+DEFS += -DUSE_SSE2
+OBJS += obj/scrypt-sse2.o
+
 obj/scrypt-sse2.o: scrypt-sse2.cpp
        $(CXX) -c $(xCXXFLAGS) -MMD -o $@ $<
 endif
+endif
+
 
 # auto-generated dependencies:
 -include obj/*.P