I try to build QCAR SDK project sample. It’s an Android+NDK project. When I used ndk-build via shell it worked fine, but then I converted project to C++ project using Eclipse CDT. Now I can’t build it in Eclipse:
**** Build of configuration Default for project ImageTargets ****
make all
make: *** No rule to make target `all'. Stop.
**** Build Finished ****
Here’s Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := QCAR-prebuilt
LOCAL_SRC_FILES = ../../../build/lib/$(TARGET_ARCH_ABI)/libQCAR.so
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../build/include
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := ImageTargets
TARGET_PLATFORM := android-5
USE_OPENGL_ES_1_1 := false
ifeq ($(USE_OPENGL_ES_1_1), true)
OPENGLES_LIB := -lGLESv1_CM
OPENGLES_DEF := -DUSE_OPENGL_ES_1_1
else
OPENGLES_LIB := -lGLESv2
OPENGLES_DEF := -DUSE_OPENGL_ES_2_0
endif
LOCAL_CFLAGS := -Wno-write-strings $(OPENGLES_DEF)
LOCAL_LDLIBS := \
-llog $(OPENGLES_LIB)
LOCAL_SHARED_LIBRARIES := QCAR-prebuilt
LOCAL_SRC_FILES := ImageTargets.cpp SampleUtils.cpp Texture.cpp
LOCAL_ARM_MODE := arm
include $(BUILD_SHARED_LIBRARY)
I tried to create custom builder following this tutorial but nothing helped.
List of builders:

Environment:
Windows 7 32
GNU Make 3.82.90
g++ 3.4.4
android-ndk r6
Eclipse Indigo
Will appreciate any help. Thanks.
I remembered that I tried fastcv samples and described technique worked. So I browsed it and found another makefile in the root of the project. I’ve added it to the QCAR sample and now it seems to work.
I’m new to makefiles, but I think that the key is in defining ‘all’ as ‘ndk-build’: