INCLUDES=-I.. -I../include -I../NVClasses-0.6/include
CXXFLAGS=-Wall -fhandle-exceptions -g $(INCLUDES)

PROGS=test_xover

all: $(PROGS)

../lib/Config.o: ../lib/Config.cc ../include/Config.h
	make -C ../lib Config.o

test_Config: test_Config.o ../lib/Config.o
	g++ -o test_Config test_Config.o ../lib/Config.o

test_Config.o: test_Config.cc ../include/Config.h
	g++ $(CXXFLAGS) -c test_Config.cc

test_xover: test_xover.o
	g++ -o $@ test_xover.o ../lib/List.o

test_xover.o: test_xover.cc 

clean:
	rm -f $(PROGS) *.o
