changeset 4251:1046f9c3174d

- compile fix: add extra.mk to Makefile - little cleanup for maintainability
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Mon, 04 Feb 2008 16:40:24 +0900
parents e8953bed56ee
children 70f379ff23ad
files src/libSAD/Makefile src/libSAD/SFMT.c src/libSAD/noicegen.c
diffstat 3 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/libSAD/Makefile	Sun Feb 03 21:36:13 2008 -0600
+++ b/src/libSAD/Makefile	Mon Feb 04 16:40:24 2008 +0900
@@ -4,5 +4,6 @@
        noicegen.c
 
 include ../../buildsys.mk
+include ../../extra.mk
 
 CPPFLAGS += ${SIMD_CFLAGS}
--- a/src/libSAD/SFMT.c	Sun Feb 03 21:36:13 2008 -0600
+++ b/src/libSAD/SFMT.c	Mon Feb 04 16:40:24 2008 +0900
@@ -43,6 +43,7 @@
 typedef union W128_T w128_t;
 
 #elif defined(HAVE_SSE2)
+  #include <emmintrin.h>
 
 /** 128-bit data structure */
 union W128_T {
--- a/src/libSAD/noicegen.c	Sun Feb 03 21:36:13 2008 -0600
+++ b/src/libSAD/noicegen.c	Mon Feb 04 16:40:24 2008 +0900
@@ -3,7 +3,6 @@
 #include "../../config.h"
 
 #ifdef HAVE_SSE2
-#  include <emmintrin.h>
 #  define SSE2 1
 #endif
 
@@ -13,7 +12,7 @@
 
 #define MEXP 19937
 
-/*#include "SFMT.h"*/
+#include "SFMT.h"
 #include "SFMT.c"
 
 #include "noicegen.h"