SHELL=bash

CLASSPATH= -classpath ".:../.."

# Java compilation options. Change -g to -O, or vice versa, to switch between
# debug and optimized versions.
JAVA_OPTS=-g $(CLASSPATH)

# The next two rules define the default rules for compiling Java files.
.SUFFIXES: .class .java

.java.class:
	javac $(JAVA_OPTS) $<

OBJS = \
	PDBElement.class \
	RecordIndex.class \
	RecordOffset.class \
	DatabaseHeader.class

# Default target.
all:	$(OBJS)

# Scrub the directory tree. Use this if you want to do a complete rebuild.
clean:	
	rm -f *.jar
	rm -f *.class
	rm -f *~
