Blame thirdparty/openblas/xianyi-OpenBLAS-e6e87a2/lapack/getrf/Makefile

kusano 2b45e8
TOPDIR	= ../..
kusano 2b45e8
include ../../Makefile.system
kusano 2b45e8
kusano 2b45e8
SBLASOBJS = sgetrf_single.$(SUFFIX)
kusano 2b45e8
DBLASOBJS = dgetrf_single.$(SUFFIX)
kusano 2b45e8
QBLASOBJS = qgetrf_single.$(SUFFIX)
kusano 2b45e8
CBLASOBJS = cgetrf_single.$(SUFFIX)
kusano 2b45e8
ZBLASOBJS = zgetrf_single.$(SUFFIX)
kusano 2b45e8
XBLASOBJS = xgetrf_single.$(SUFFIX)
kusano 2b45e8
kusano 2b45e8
ifdef SMP
kusano 2b45e8
SBLASOBJS += sgetrf_parallel.$(SUFFIX)
kusano 2b45e8
DBLASOBJS += dgetrf_parallel.$(SUFFIX)
kusano 2b45e8
QBLASOBJS += qgetrf_parallel.$(SUFFIX)
kusano 2b45e8
CBLASOBJS += cgetrf_parallel.$(SUFFIX)
kusano 2b45e8
ZBLASOBJS += zgetrf_parallel.$(SUFFIX)
kusano 2b45e8
XBLASOBJS += xgetrf_parallel.$(SUFFIX)
kusano 2b45e8
endif
kusano 2b45e8
kusano 2b45e8
ifeq ($(USE_OPENMP), 1)
kusano 2b45e8
GETRF_SRC = getrf_parallel_omp.c
kusano 2b45e8
else
kusano 2b45e8
GETRF_SRC = getrf_parallel.c
kusano 2b45e8
endif
kusano 2b45e8
kusano 2b45e8
sgetrf_single.$(SUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(CFLAGS) -UDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
dgetrf_single.$(SUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(CFLAGS) -DDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
qgetrf_single.$(SUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(CFLAGS) -DXDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
cgetrf_single.$(SUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(CFLAGS) -UDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
zgetrf_single.$(SUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(CFLAGS) -DDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
xgetrf_single.$(SUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(CFLAGS) -DXDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
sgetrf_parallel.$(SUFFIX) : $(GETRF_SRC) ../../param.h
kusano 2b45e8
	$(CC) -c $(CFLAGS) -UDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
dgetrf_parallel.$(SUFFIX) : $(GETRF_SRC) ../../param.h
kusano 2b45e8
	$(CC) -c $(CFLAGS) -DDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
qgetrf_parallel.$(SUFFIX) : $(GETRF_SRC) ../../param.h
kusano 2b45e8
	$(CC) -c $(CFLAGS) -DXDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
cgetrf_parallel.$(SUFFIX) : $(GETRF_SRC) ../../param.h
kusano 2b45e8
	$(CC) -c $(CFLAGS) -UDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
zgetrf_parallel.$(SUFFIX) : $(GETRF_SRC) ../../param.h
kusano 2b45e8
	$(CC) -c $(CFLAGS) -DDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
xgetrf_parallel.$(SUFFIX) : $(GETRF_SRC) ../../param.h
kusano 2b45e8
	$(CC) -c $(CFLAGS) -DXDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
sgetrf_single.$(PSUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(PFLAGS) -UDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
dgetrf_single.$(PSUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(PFLAGS) -DDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
qgetrf_single.$(PSUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(PFLAGS) -DXDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
cgetrf_single.$(PSUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(PFLAGS) -UDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
zgetrf_single.$(PSUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(PFLAGS) -DDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
xgetrf_single.$(PSUFFIX) : getrf_single.c
kusano 2b45e8
	$(CC) -c $(PFLAGS) -DXDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
sgetrf_parallel.$(PSUFFIX) : $(GETRF_SRC)
kusano 2b45e8
	$(CC) -c $(PFLAGS) -UDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
dgetrf_parallel.$(PSUFFIX) : $(GETRF_SRC)
kusano 2b45e8
	$(CC) -c $(PFLAGS) -DDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
qgetrf_parallel.$(PSUFFIX) : $(GETRF_SRC)
kusano 2b45e8
	$(CC) -c $(PFLAGS) -DXDOUBLE -UCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
cgetrf_parallel.$(PSUFFIX) : $(GETRF_SRC)
kusano 2b45e8
	$(CC) -c $(PFLAGS) -UDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
zgetrf_parallel.$(PSUFFIX) : $(GETRF_SRC)
kusano 2b45e8
	$(CC) -c $(PFLAGS) -DDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
xgetrf_parallel.$(PSUFFIX) : $(GETRF_SRC)
kusano 2b45e8
	$(CC) -c $(PFLAGS) -DXDOUBLE -DCOMPLEX -DUNIT $< -o $(@F)
kusano 2b45e8
kusano 2b45e8
include ../../Makefile.tail