]> granicus.if.org Git - libjpeg-turbo/commitdiff
Ensure that *gra*.asm is rebuilt whenever *gry*.asm changes.
authorDRC <dcommander@users.sourceforge.net>
Sat, 2 Apr 2011 02:14:13 +0000 (02:14 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sat, 2 Apr 2011 02:14:13 +0000 (02:14 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@558 632fc199-4ca6-4c93-a231-07263d6284db

simd/CMakeLists.txt

index b1977ce3eac1794d460be05634e13697abaf0ec2..3bd4ce89f7a14242d674735832c6dcae884136e0 100755 (executable)
@@ -52,6 +52,10 @@ foreach(file ${SIMD_BASENAMES})
     set(DEPFILE ${SIMD_SRC})
     string(REGEX REPLACE "mer" "mrg" DEPFILE ${DEPFILE})
   endif()
+  if(${file} MATCHES gra)
+    set(DEPFILE ${SIMD_SRC})
+    string(REGEX REPLACE "gra" "gry" DEPFILE ${DEPFILE})
+  endif()
   set(SIMD_OBJ ${OBJDIR}/${file}.obj)
   add_custom_command(OUTPUT ${SIMD_OBJ} DEPENDS ${SIMD_SRC} ${DEPFILE} *.inc
     COMMAND ${NASM} ${NAFLAGS} ${SIMD_SRC} -o${SIMD_OBJ})