################################################################################
##
##  Makefile:   test/sysUtils
##
##  $Revision: 1.22 $  $Name: not supported by cvs2svn $
##  $Date: 2005-01-03 23:33:20 $
##
##  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_psAbort      \
         tst_psMemory     \
         tst_psError      \
         tst_psLogMsg     \
         tst_psStringCopy \
         tst_psTrace      \
	 tst_psConfigure

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


