You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 511 B

1234567891011121314151617181920212223242526272829303132
  1. UTEST_CHECK = 1
  2. TOPDIR = ..
  3. UTESTBIN=openblas_utest
  4. .PHONY : all
  5. .NOTPARALLEL : all run_test $(UTESTBIN)
  6. include $(TOPDIR)/Makefile.system
  7. OBJS=utest_main.o test_amax.o
  8. #test_rot.o test_swap.o test_axpy.o test_dotu.o test_rotmg.o test_dsdot.o test_fork.o
  9. ifneq ($(NO_LAPACK), 1)
  10. OBJS += test_potrs.o
  11. endif
  12. all : run_test
  13. $(UTESTBIN): $(OBJS)
  14. $(CC) $(CFLAGS) -o $@ $^ ../$(LIBNAME) $(EXTRALIB) $(FEXTRALIB)
  15. run_test: $(UTESTBIN)
  16. ifndef CROSS
  17. ./$(UTESTBIN)
  18. endif
  19. clean:
  20. -rm -f *.o $(UTESTBIN)
  21. libs: