Compiling Java with makefile
来源:互联网 发布:市场营销 知乎 编辑:程序博客网 时间:2024/05/16 06:49
http://www.google.com.hk/search?hl=zh-CN&newwindow=1&safe=strict&q=makefile+shell+find+java&oq=makefile+shell+find+java&gs_l=serp.3...1547.3193.0.3429.5.5.0.0.0.0.0.0..0.0...0.0...1c.1.8.serp.Z_mbAZayu8w
http://www.makelinux.net/make3/make3-CHP-9-SECT-3
# all_javas - Temp file for holding source file list
#all_javas := $(OUTPUT_DIR)/all.javas
OUTPUT_DIR := .
SOURCE_DIR := libcore/luni/src/main/java
all_javas := $(OUTPUT_DIR)/all.javas
JAVAC := javac -target 1.5 -classpath "libcore/xml/src/main/java:libcore/dalvik/src/main/java:/media/linux/1/android-20120605-2.3.4_r1/classes:libcore/luni/src/main/java/:/media/linux/1/android-20120605-2.3.4_r1/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/" -d classes
FIND := /usr/bin/find
# compile - Compile the source
.PHONY: compile
compile: $(all_javas)
$(JAVAC) @$<
# $(JAVAC) $(JFLAGS) @$<
# all_javas - Gather source file list
.INTERMEDIATE: $(all_javas)
$(all_javas):
$(FIND) $(SOURCE_DIR) -name '*.java' > $@
******************************************************************************
out/host/linux-x86/bin/dx -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 --core-library classes
zip core.jar classes.dex
cp core.jar out/debug/host/linux-x86/pr/sim/system/framework/
ll out/debug/host/linux-x86/pr/sim/system/framework/core.jar
- Compiling Java with makefile
- Compiling Java with GCJ
- Compiling with the Java Compiler API
- Compiling and Running a Java Program with a Native Method
- Live555: Compiling with VS2008
- Compiling OpenSSL with MinGW
- asterisk compiling with mp3
- Compiling newest Boost_1_53_0 with VS2008
- Compiling VIM with python support
- Compiling to Java
- MinGW - Compiling and Building with MinGW
- Compiling Hydrax 0.5.1 with Ogre 1.7
- compiling-python-with-ssl-support问题
- Compiling Hydrax 0.5.1 with Ogre 1.7
- Compiling and building a project with rebar
- Compiling shared PECL extensions with phpize
- Error compiling OSSEC HIDS with Mysql support
- Compiling Lua with Visual Studio 2010
- IMIE(international moble equipment Identity )
- 堆栈在内存中的压栈和弹栈工作原理
- Linear Space Sequence Alignment
- 从业N年初次用到高等数学:用PL/SQL算IRR
- XML文件在Android中的重要作用(从文件存放形式剖析)
- Compiling Java with makefile
- JRebel+4.0.3破解版
- 手机耳机课
- 如何在INSERT语句中使用SELECT的结果
- fgetcsv()应用
- myeclipse 修改模板
- struts2無法继承json-default的解决方法
- 366. Pull the chestnut out of the fire. 火中取栗
- 计算机科学的领域