1 |
+ |
# Makefile for build |
2 |
+ |
# $Id$ |
3 |
+ |
|
4 |
+ |
PACKAGE = iscream.jar |
5 |
+ |
FILES = uk |
6 |
+ |
|
7 |
+ |
all : package |
8 |
+ |
|
9 |
+ |
clean : |
10 |
+ |
rm -Rf uk |
11 |
+ |
rm -Rf $(PACKAGE) |
12 |
+ |
|
13 |
+ |
package : $(PACKAGE) |
14 |
+ |
|
15 |
+ |
$(PACKAGE) : |
16 |
+ |
@echo "Main-Class: uk.ac.ukc.iscream.core.Core" > MANIFEST_TMP |
17 |
+ |
@echo "Class-Path: ./lib/idl.jar ./lib/jacorb.jar ./lib/jaxp.jar ./lib/parser.jar" >> MANIFEST_TMP |
18 |
+ |
jar -cvmf MANIFEST_TMP $(PACKAGE) $(FILES) |
19 |
+ |
rm -f MANIFEST_TMP |
20 |
+ |
@echo "-----------------------------" |
21 |
+ |
@echo "to run: java -jar $(PACKAGE)" |
22 |
+ |
@echo "-----------------------------" |