1 |
# Makefile for build |
2 |
# $Id: Makefile,v 1.6 2000/12/06 16:45:08 tdb1 Exp $ |
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: /usr/local/work/co610/JacORB/lib/idl.jar /usr/local/work/co610/JacORB/lib/jacorb.jar /home/proj/co600_10/xml-lib/jaxp.jar /home/proj/co600_10/xml-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 "-----------------------------" |