PDTDIR=`pwd`

PLATFORM=
COMPDIR=

BIN=$(PDTDIR)/$(PLATFORM)/$(COMPDIR)/bin
LIB=$(PDTDIR)/$(PLATFORM)/$(COMPDIR)/lib

all :
	(cd ductape; $(MAKE) "MAKE=$(MAKE)" all)

install:
	/bin/rm -f $(BIN)/pdbconv
	/bin/rm -f $(BIN)/pdbhtml
	/bin/rm -f $(BIN)/pdbmerge
	/bin/rm -f $(BIN)/pdbtree
	/bin/rm -f $(LIB)/libpdb.a
	(cd ductape; $(MAKE) "MAKE=$(MAKE)" install)
	cp $(PDTDIR)/ductape/bin/pdbconv  $(BIN)
	cp $(PDTDIR)/ductape/bin/pdbhtml  $(BIN)
	cp $(PDTDIR)/ductape/bin/pdbmerge $(BIN)
	cp $(PDTDIR)/ductape/bin/pdbtree  $(BIN)
	cp $(PDTDIR)/ductape/lib/libpdb.a $(LIB)

clean :
	(cd ductape; $(MAKE) "MAKE=$(MAKE)" clean)
