Skip to content

Commit

Permalink
Reposition irrlicht timestamp in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Jun 11, 2015
1 parent 05f4e9e commit c849d32
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build/android/Makefile
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c849d32

Please sign in to comment.