Compiling instructions


This thing is my humble attempt to create a GNU-Makefile-based template for Java projects. It allows you to compile, run and generate documentation from source code without having to deal with file lists or long command lines.

Here is a small description off the directory structure:

src/ Put your java source files here, organized in a tree that reflects the package hierarchy
www/ Put your HTML files here

This directory also contains the javadoc-generated documentation of your code, in the javadoc/ subdirectory. Each of your java file must be part of a package to appear in the documentation...
contrib/ Use this directory to store pre-compiled classes, jar files and platform-specific libraries you got from other people (classes in classes/, jars in jars/ and libraries in lib/platform/)
scripts/ This one contains three scripts used in the Makefile: list, which you can use to get the classpath and the list of source files or packages ; flags, which you can use to get the flags for running javac, javadoc and java ; and run, which you can use to run a particular application of your source tree
classes/ This directory will contain your compiled classes

Check the Makefile to know the default targets. Basically, just do a "make all" to compile everything and generate the javadoc files.