title: Android.mk, include all cpp files
body: <p>I'm trying to build an Android project using the ndk, but I have run into some troubles.</p>
  
  <p>Here's the Android.mk file that works:</p>
  
  <pre><code>LOCAL_PATH:= $(call my-dir)
  
  include $(CLEAR_VARS)
  
  LOCAL_MODULE    := mylib
  LOCAL_CFLAGS    := -Werror
  LOCAL_SRC_FILES := main.cpp, Screen.cpp, ScreenManager.cpp  
  LOCAL_LDLIBS    := -llog
  
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>
  
  <p>Is there a way that allows me to specify all the *.cpp files in the directory, without listing them manually under LOCAL_SRC_FILES?</p>
  
  <p>So far I tried using LOCAL_SRC_FILES = $(wildcard *.cpp), but it did now work, it seems that no files get selected.</p>