[Gllug] Make was Bison question

mriscott at yahoo.co.uk mriscott at yahoo.co.uk
Thu Dec 5 10:05:38 UTC 2002


> Make is essentially very sound. All it really needs is updating to take
> account of the fact that Java broke the 1:1 mapping between source and
> object files that had existed since the dawn of time. D'oh!

Make does still work with java, sort of.

Each x.java file will produce at least an x.class file, which can be used as
a target for make

e.g.

x.class : x.java
	javac x.java

But the problem is that javac is java, so there is a large runup time
 - javac *.java is a lot quicker than for x in *.java;do javac $x;done.

This is the problem ant tries to remedy, I believe.

We have a complicated build process here, which consists of various makefiles,
some of which call ant to do java stuff - probably not the most efficient
way to do stuff, but it works.

Ian


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list