# *************************************************************************
# *                                                                       *
# *  Makefile for PTZBLAS                                                 *
# *                                                                       *
# *                                                                       *
# *  Copyright (c) 2007 School of Computer Science and Informatics,       *
# *                     University College Dublin, Ireland.               *
# *                                                                       *
# *  All rights reserved. We assume no responsibility for the use         *
# *  or reliability of our software.                                      *
# *                                                                       *
# *************************************************************************

include ../../../HSLmake.inc
include ./LIBTARGETS.list

CC_INCLUDES	=	-I$(MPIDIR)/include -I$(MPCHOME)/h -I$(HMPI_HOME)/include

all: hscalapacklib

hscalapacklib: $(LIBTARGETS)

clean:
	$(RM) *.o

$(LIBTARGETS):
	$(CC) $(CFLAGS) $(CC_INCLUDES) -c $(*F).c -o ../../../build$(HSCALARCH)/obj/$(*F).o

%.o: %.c
	$(CC) $(CFLAGS) $(CC_INCLUDES) -c $(*F).c

