Commit cd1cd58b authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Makefile: be quiet by default, use V=1 for verbose

Align with current practices of automake and ndk-build
make V=1 will show exact gcc flags used for libvlcjni.so
parent 99a75bc4
......@@ -15,11 +15,14 @@ LIBVLCJNI_H=vlc-android/jni/libvlcjni.h
PRIVATE_LIBDIR=android-libs
PRIVATE_LIBS=$(PRIVATE_LIBDIR)/libstagefright.so $(PRIVATE_LIBDIR)/libmedia.so $(PRIVATE_LIBDIR)/libutils.so $(PRIVATE_LIBDIR)/libbinder.so
# Verbose level: -q -v or nothing (default verbose)
VERBOSE ?= -v
ifneq ($(V),)
ANT_OPTS += -v
else
ANT_OPTS += -q
endif
$(VLC_APK): $(LIBVLCJNI) $(JAVA_SOURCES)
cd vlc-android && ant $(VERBOSE) debug
cd vlc-android && ant $(ANT_OPTS) debug
VLC_MODULES=`find $(VLC_BUILD_DIR)/modules -name 'lib*_plugin.a'|grep -v stats|tr \\\\n \ `
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment