################################################################################
##
##  Makefile:   test/collections
##
##  $Revision: 1.3 $  $Name: not supported by cvs2svn $
##  $Date: 2004-09-30 21:01:09 $
##
##  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_psImage \
tst_psImageFFT \
tst_psImageManip \
tst_psImageStats00 \
tst_psImageStats01 \
tst_psImageStats02 \
tst_psImageStats03 \
tst_psImageExtraction \
tst_psImageConvolve

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


