1 |
tdb |
1.1.2.1 |
# Makefile for build |
2 |
tdb |
1.1.2.2 |
# $Id: Makefile,v 1.1.2.1 2000/12/11 20:22:51 tdb1 Exp $ |
3 |
tdb |
1.1.2.1 |
|
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 |
tdb |
1.1.2.2 |
@echo "Class-Path: ./lib/idl.jar ./lib/jacorb.jar ./lib/jaxp.jar ./lib/parser.jar" >> MANIFEST_TMP |
18 |
tdb |
1.1.2.1 |
jar -cvmf MANIFEST_TMP $(PACKAGE) $(FILES) |
19 |
|
|
rm -f MANIFEST_TMP |
20 |
|
|
@echo "-----------------------------" |
21 |
|
|
@echo "to run: java -jar $(PACKAGE)" |
22 |
|
|
@echo "-----------------------------" |