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 853 B

12345678910111213141516171819202122232425262728293031323334
  1. include ../../make.inc
  2. all: xexample_DGESV_rowmajor \
  3. xexample_DGESV_colmajor \
  4. xexample_DGELS_rowmajor \
  5. xexample_DGELS_colmajor
  6. LIBRARIES = ../../$(LAPACKELIB) ../../$(LAPACKLIB) $(BLASLIB)
  7. # Double Precision Examples
  8. xexample_DGESV_rowmajor: example_DGESV_rowmajor.o lapacke_example_aux.o $(LIBRARIES)
  9. $(LOADER) $(LOADOPTS) -o $@ $^
  10. ./$@
  11. xexample_DGESV_colmajor: example_DGESV_colmajor.o lapacke_example_aux.o $(LIBRARIES)
  12. $(LOADER) $(LOADOPTS) -o $@ $^
  13. ./$@
  14. xexample_DGELS_rowmajor: example_DGELS_rowmajor.o lapacke_example_aux.o $(LIBRARIES)
  15. $(LOADER) $(LOADOPTS) -o $@ $^
  16. ./$@
  17. xexample_DGELS_colmajor: example_DGELS_colmajor.o lapacke_example_aux.o $(LIBRARIES)
  18. $(LOADER) $(LOADOPTS) -o $@ $^
  19. ./$@
  20. clean: cleanobj cleanexe
  21. cleanobj:
  22. rm -f *.o
  23. cleanexe:
  24. rm -f x*
  25. .c.o:
  26. $(CC) $(CFLAGS) -I. -I../include -c -o $@ $<