The previous article described the Java program being packaged as an RPM installation package by using the. spec file with the Rpmbuild command on Linux.
New requirements are encountered at this stage:
Use makefile to manipulate Java compilation, packaging
This requirement is based on the previous content
You can review the following articles to resolve the above requirements
Recommendation: Start with a small case, after successfully running through makefile, step by step try to run your own actual project (note structure: source code, jar package, configuration file, etc.)
Build and run Java programs yourself
Http://www.cnblogs.com/haolujun/archive/2013/03/02/2939698.html
===============================================================
Through the above article should have been able to start, but also to look at the following articles, but the latter several articles I did not study
Managing Java projects with Makefile
Http://www.cnblogs.com/jiqingwu/archive/2012/06/13/java_makefile.html
Makefile for Java Project
Http://blog.163.com/[email protected]/blog/static/894237020104298126706/
Makefile Writing--for C and Java
http://blog.csdn.net/flowingflying/article/details/4512042
=============================================================
The following articles are part of Makefile's detailed tutorial, not about managing Java programs.
Make command in Linux/unix environment
Http://www.knowsky.com/4495.html
Makefile Tutorials This article looks more powerful
Http://www.blogjava.net/zygcs/archive/2011/08/30/357610.html
Makefile managing Java projects on Linux