CPP = gcc
CFLAGS = -I../Include -g -c
ODIR = ../bin
PROGRAM = PrintCards
LFLAGS = -g -L../Lib -llibr -lg++

SRCS = PrintCards.cc

OBJS = PrintCards.o

$(ODIR)/$(PROGRAM) : $(OBJS) ../Lib/liblibr.a
	$(CPP) -o $(ODIR)/$(PROGRAM) $(OBJS) $(LFLAGS)

PrintCards.o : PrintCards.cc PrintCards.h ../Include/common.h \
		../Include/vm.h ../Include/vBTree.h \
		../Include/Card.h ../Include/CardRecord.h \
		../Include/ListRecord.h ../Include/PTree.h
		$(CPP) $(CFLAGS) PrintCards.cc -o PrintCards.o

PrintCards.h : PrintCards.arg
	makeargprc PrintCards
