Project

General

Profile

Revision 400

Added by Greg Tress about 16 years ago

updated makefile; added signed applet functionality

View differences:

Makefile
21 21
default: $(DIR)/Colonet.class $(DIR)/ColonetServerInterface.class $(DIR)/Colonet.jar
22 22

  
23 23
$(DIR)/Colonet.jar: 
24
	cd $(DIR); jar cvf Colonet.jar *.class
24
	@echo --- Creating archive file ---
25
	cd $(DIR); jar cvf Colonet.jar *.class; jarsigner -keystore colonetkey -storepass colonet Colonet.jar colonet
26
	@echo --- Done ---
25 27

  
26 28
$(DIR)/Colonet.class: Colonet.java
29
	@echo --- Compiling ---
27 30
	$(JC) $(JCWARN) $(JCFLAGS) Colonet.java
28 31

  
29 32
$(DIR)/ColonetServerInterface.class: ColonetServerInterface.java
30 33
	$(JC) $(JCWARN) $(JCFLAGS) ColonetServerInterface.java
31 34

  
32 35
install:
36
	@echo --- Copying files to /var/www/colonet ---
33 37
	cp $(DIR)/Colonet.jar /var/www/colonet
34 38
	cp index.html /var/www/colonet
35 39

  

Also available in: Unified diff