improve dependency on header files *.h, and remove clean from make.sh. see PR #793
diff --git a/Makefile b/Makefile
index cc42a78..71f605f 100644
--- a/Makefile
+++ b/Makefile
@@ -346,7 +346,7 @@
endif
endif
-$(LIBOBJ): config.mk
+$(LIBOBJ): *.h include/*.h config.mk
$(LIBOBJ_ARM): $(DEP_ARM)
$(LIBOBJ_ARM64): $(DEP_ARM64)
diff --git a/include/capstone.h b/include/capstone.h
index 354e499..81c4af3 100644
--- a/include/capstone.h
+++ b/include/capstone.h
@@ -2,7 +2,7 @@
#define CAPSTONE_ENGINE_H
/* Capstone Disassembly Engine */
-/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
+/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2016 */
#ifdef __cplusplus
extern "C" {
diff --git a/make.sh b/make.sh
index 1a36589..7922bf7 100755
--- a/make.sh
+++ b/make.sh
@@ -8,7 +8,6 @@
# build iOS lib for all iDevices, or only specific device
function build_iOS {
- ${MAKE} clean
IOS_SDK=`xcrun --sdk iphoneos --show-sdk-path`
IOS_CC=`xcrun --sdk iphoneos -f clang`
IOS_CFLAGS="-Os -Wimplicit -isysroot $IOS_SDK"
@@ -55,8 +54,6 @@
TOOLCHAIN="$NDK/toolchains/$CROSS$GCCVER/prebuilt/$HOSTOS-$HOSTARCH"
PLATFORM="$NDK/platforms/$APILEVEL/arch-$TARGARCH"
- ${MAKE} clean
-
CROSS="$TOOLCHAIN/bin/$CROSS" CFLAGS="--sysroot=$PLATFORM" LDFLAGS="--sysroot=$PLATFORM" ${MAKE} $*
}
@@ -66,8 +63,6 @@
export LIBARCHS="i386 x86_64"
fi
- ${MAKE} clean
-
if [ -n "$CC" ]; then
${MAKE} CC="$CC" $*
else