ithewei 6 年之前
父节点
当前提交
11e952358b
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      Makefile

+ 6 - 1
Makefile

@@ -1,4 +1,4 @@
-######################configure##################
+#+++++++++++++++++++++++++++++++++configure++++++++++++++++++++++++++++++++++++++++
 # OS=Windows,Linux,Android
 # ARCH=x86,x86_64,arm,aarch64
 # CC
@@ -10,6 +10,11 @@
 # LDFLAGS += $(addprefix -L, $(LIBDIRS))
 # LDFLAGS += $(addprefix -l, $(LIBS))
 # BUILD_SHARED=true,false
+#
+# Usage:
+# make all BUILD_SHARED=true OS=Android ARCH=arm DEFINES=USE_OPENCV
+# DIRS=src LIBDIRS=3rd/lib/arm-linux-android LIBS="opencv_core opencv_highgui"
+#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
 ifeq ($(OS), Windows_NT)
 	OS=Windows