Revision: | 1.12 |
Committed: | Sat Feb 1 19:08:54 2003 UTC (21 years, 9 months ago) by tdb |
Branch: | MAIN |
Changes since 1.11: | +9 -11 lines |
Log Message: | A continuation of my last commit on all this Makefile reworking. I think I've managed to get the dependencies working quite well now. As long as the builds are done from the top level Makefile it should all be fine. If you try from, say, the build directory it might not notice things changing in the source files. |
# | Content |
---|---|
1 | # Makefile for idl |
2 | # $Id: Makefile,v 1.11 2003/01/26 14:02:52 tdb Exp $ |
3 | |
4 | include ../Config.inc |
5 | |
6 | IDLFILES = uk |
7 | |
8 | .PHONY : all |
9 | all : build |
10 | |
11 | .PHONY : idl |
12 | idl : iscream.idl |
13 | java -classpath $(BUILD)/lib/idl.jar org.jacorb.idl.parser -sloppy_names iscream.idl |
14 | |
15 | .PHONY : build |
16 | build : idl |
17 | cd uk/org/iscream/cms/server/clientinterface && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java |
18 | cd uk/org/iscream/cms/server/core && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java |
19 | cd uk/org/iscream/cms/server/filter && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java |
20 | cd uk/org/iscream/cms/server/client && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java |
21 | @touch $(IDLCHECK) |
22 | @rm -f $(MCOMPILECHECK) |
23 | |
24 | .PHONY : clean |
25 | clean : |
26 | rm -Rf $(IDLFILES) |
27 | rm -f $(IDLCHECK) |
28 | |
29 | include $(MKINC) |