7 UTESTBIN=openblas_utest
10 .NOTPARALLEL : all run_test $(UTESTBIN)
12 include $(TOPDIR)/Makefile.system
14 OBJS=utest_main.o test_min.o test_amax.o test_ismin.o test_rotmg.o test_axpy.o test_dotu.o test_dsdot.o test_swap.o test_rot.o test_dnrm2.o
15 #test_rot.o test_swap.o test_axpy.o test_dotu.o test_dsdot.o test_fork.o
17 ifneq ($(NO_LAPACK), 1)
19 ifneq ($(NO_CBLAS), 1)
20 ifneq ($(NO_LAPACKE), 1)
21 OBJS += test_kernel_regress.o
26 #this does not work with OpenMP nor with native Windows or Android threads
27 # FIXME TBD if this works on OSX, SunOS, POWER and zarch
28 ifeq ($(OSNAME), $(filter $(OSNAME),Linux CYGWIN_NT))
29 ifneq ($(USE_OPENMP), 1)
32 OBJS += test_post_fork.o
35 ifeq ($(C_COMPILER), PGI)
38 ifeq ($(C_COMPILER), SUN)
48 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ ../$(LIBNAME) $(EXTRALIB) $(FEXTRALIB)
56 -rm -f *.o $(UTESTBIN)