Assignment 2 Tools

Given below is an updated Makefile to include the Jericho jar in the classpath when compiling the source. This assumes that you have placed the jericho-html-3.3.jar inside a directory called 'lib' which is at the same level as Makefile. Also the source code is in 'cs455' directory.

all: compile
	@echo -e '[INFO] Done!' 
 
clean:
	@echo -e '[INFO] Cleaning Up..'
	@-rm -rf cs455/**/*.class cs455/**/**/*.class cs455/**/**/**/*.java cs455/**/**/**/**/*.java
 
compile: 
	@echo -e '[INFO] Compiling the Source..'
	@javac -d . -cp ./lib/jericho-html-3.3.jar:. cs455/**/*.java cs455/**/**/*.java cs455/**/**/**/*.java cs455/**/**/**/**/*.java
 
tools/hw2.txt · Last modified: 2015/03/09 13:17 by thilinab