#Note: Only the files with the required classes are compiled;
#as others will be automatically compiled.
CMD=javac 
SBPATH=sharedboard
EDPATH=editor
DPPATH=diffpatch


ALL: DP SB ED
SB:
	${CMD} ${SBPATH}/WBAppClient.java ${SBPATH}/WBAppServer.java 
ED:
	${CMD} ${EDPATH}/EditGUI.java	

DP:
	${CMD} ${DPPATH}/XMLDiff.java ${DPPATH}/XMLPatch.java

CLEAN:
	rm -f ${SBPATH}/*.class 
	rm -f ${EDPATH}/*.class
	rm -f ${DPPATH}/*.class

