################################################################################
##
##  Makefile:   test/collections
##
##  $Revision: 1.27 $  $Name: not supported by cvs2svn $
##  $Date: 2005-01-03 20:28:07 $
##
##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
##
###############################################################################

ifndef prefix
    export prefix=$(shell cd ../..;pwd)
endif

include ../../src/Makefile.Globals

CFLAGS := -I../../include $(CFLAGS)
LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)

TARGET = tst_psVector          \
         tst_psArray           \
         tst_psArray01         \
         tst_psArray02         \
         tst_psBitSet          \
         tst_psVectorSort_01   \
         tst_psVectorSort_02   \
         tst_psVectorSort_03   \
         tst_psVectorSort_04   \
         tst_psList            \
         tst_psHash00          \
         tst_psHash01          \
         tst_psHash02          \
         tst_psHash03          \
         tst_psHash04          \
         tst_psHash05          \
         tst_psScalar

OBJS = $(addsuffix .o,$(TARGET))

all: $(TARGET)

clean:
	@echo "    Deleting executable and binary files for 'test/collections'"
	$(RM) $(OBJS)

distclean: clean
	$(RM) $(TARGET)

install: $(testbindir) $(testbindir)/verified $(TARGET)
	install $(TARGET) $(testbindir)
	install verified/*.stderr verified/*.stdout $(testbindir)/verified

$(testbindir):
	mkdir -p $(testbindir)

$(testbindir)/verified:
	mkdir -p $(testbindir)/verified


