1 |
|
# Makefile for server |
2 |
|
# $Id$ |
3 |
|
|
4 |
< |
all : idl core filter |
4 |
> |
include Config.inc |
5 |
|
|
6 |
< |
core : |
7 |
< |
cd CORE && $(MAKE) |
6 |
> |
all : build |
7 |
|
|
8 |
< |
filter : |
9 |
< |
cd Filter && $(MAKE) |
8 |
> |
idl : |
9 |
> |
cd idl && $(MAKE) idl |
10 |
|
|
11 |
< |
idl : iscream.idl |
12 |
< |
idl iscream.idl |
14 |
< |
@touch .madeidl |
11 |
> |
buildidl : idl |
12 |
> |
cd idl && $(MAKE) build |
13 |
|
|
14 |
+ |
code : buildidl |
15 |
+ |
cd uk/ac/ukc/iscream && $(MAKE) all |
16 |
+ |
|
17 |
+ |
build : code |
18 |
+ |
cd build && $(MAKE) package |
19 |
+ |
|
20 |
+ |
run : build |
21 |
+ |
cd build && java -jar iscream.jar |
22 |
+ |
|
23 |
|
clean : |
24 |
< |
rm -Rf uk |
25 |
< |
rm -f .madeidl |
26 |
< |
cd CORE && $(MAKE) clean |
27 |
< |
cd Filter && $(MAKE) clean |
24 |
> |
cd idl && $(MAKE) clean |
25 |
> |
cd build && $(MAKE) clean |
26 |
> |
cd uk/ac/ukc/iscream && $(MAKE) clean |
27 |
> |
rm -Rf $(BUILDCHECK) $(IDLCHECK) |
28 |
|
|
29 |
+ |
include $(MKINC) |