Reposition irrlicht timestamp in makefile
authorest31 <MTest31@outlook.com>
Thu, 11 Jun 2015 21:56:54 +0000 (23:56 +0200)
committerest31 <MTest31@outlook.com>
Thu, 11 Jun 2015 21:56:54 +0000 (23:56 +0200)
build/android/Makefile

index b11d739720dcad52d973f46dd28fff67d48ae1e2..1b33a45995dae370e161d567a5a9a12f0989d764 100644 (file)
@@ -399,12 +399,6 @@ freetype_download :
                git clone ${FREETYPE_URL_GIT} || exit 1;                               \
        fi
 
-$(IRRLICHT_TIMESTAMP) : irrlicht_download
-       @LAST_MODIF=$$(find ${IRRLICHT_DIR} -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "); \
-       if [ $$(basename $$LAST_MODIF) != "timestamp" ] ; then                     \
-               touch ${IRRLICHT_TIMESTAMP};                                           \
-       fi
-
 freetype : $(FREETYPE_LIB)
 
 $(FREETYPE_LIB) : $(FREETYPE_TIMESTAMP)
@@ -454,6 +448,12 @@ irrlicht_download :
                patch -p1 < ../../irrlicht-texturehack.patch || exit 1;                \
        fi
 
+$(IRRLICHT_TIMESTAMP) : irrlicht_download
+       @LAST_MODIF=$$(find ${IRRLICHT_DIR} -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "); \
+       if [ $$(basename $$LAST_MODIF) != "timestamp" ] ; then                     \
+               touch ${IRRLICHT_TIMESTAMP};                                           \
+       fi
+
 irrlicht : $(IRRLICHT_LIB)
 
 $(IRRLICHT_LIB): $(IRRLICHT_TIMESTAMP) $(FREETYPE_LIB)