android ndk - New to makefile -- looks like target depends on non-existent prerequisite -
i'm studying makefile , i'm trying understand what's happening.
gypandroid.mk: ./deps/gyp example/libtextsort.gyp support-lib/support_lib.gyp example/example.djinni ./example/run_djinni.sh android_build_top=$(android_ndk_home) deps/gyp/gyp --depth=. -f android -dos=android -icommon.gypi example/libtextsort.gyp --root-target=libtextsort_jni with understanding of make, says "gypandroid.mk target depends on 4 other targets:"
1) ./deps/gyp
2) example/libtextsort.gyp
3) support-lib/support_lib.gyp
4) example/example.djinni
however, search through entire project targets #2 , doesn't exist anywhere else. there use of prerequisite i'm missing? what's happening here?
full makefile reference:
# # environment variables overriding default behavior. # ifndef android_ndk_home android_ndk_home = $(abspath $(dir $(realpath $(shell ndk-build)))) endif # # global targets. # all: djinni example_ios example_android example_localhost test clean: -ndk-build -c example/android/app/ clean -xcodebuild -workspace example/objc/textsort.xcworkspace -scheme textsort -configuration 'debug' -sdk iphonesimulator clean -rm -rf libs/ -rm -rf obj/ -rm -rf build/ -rm -rf build_ios/ -rm -f gypandroid.mk # rule lazily clone gyp # freeze gyp @ last version android support ./deps/gyp: git clone https://chromium.googlesource.com/external/gyp.git ./deps/gyp cd deps/gyp && git checkout -q 0bb67471bca068996e15b56738fa4824dfa19de0 djinni: cd src && ./build # specify root target android prevent of targets spidering out gypandroid.mk: ./deps/gyp example/libtextsort.gyp support-lib/support_lib.gyp example/example.djinni ./example/run_djinni.sh android_build_top=$(android_ndk_home) deps/gyp/gyp --depth=. -f android -dos=android -icommon.gypi example/libtextsort.gyp --root-target=libtextsort_jni # specify root target android prevent of targets spidering out ./build_ios/example/libtextsort.xcodeproj: ./deps/gyp example/libtextsort.gyp support-lib/support_lib.gyp example/example.djinni ./example/run_djinni.sh deps/gyp/gyp --depth=. -f xcode -dos=ios --generator-output ./build_ios -icommon.gypi example/libtextsort.gyp example_ios: ./build_ios/example/libtextsort.xcodeproj xcodebuild -workspace example/objc/textsort.xcworkspace \ -scheme textsort \ -configuration 'debug' \ -sdk iphonesimulator # target implicitly depends on gypandroid.mk since gradle try make example_android: gypandroid.mk cd example/android/ && ./gradlew app:assembledebug @echo "apks produced at:" @python example/glob.py example/ '*.apk' example_localhost: ./deps/java cd example && make localhost test: ./deps/java make -c test-suite .phony: example_android example_ios example_localhost test djinni clean
Comments
Post a Comment