Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. LIB=../openblas-saar/libopenblas.a
  2.  
  3. All: test-dgemm100.goto test-dgemm256.goto
  4.  
  5.  
  6. test-dgemm100.o: test-dgemm100.c
  7. gcc -c -O2 -fopenmp test-dgemm100.c -o test-dgemm100.o
  8.  
  9. test-dgemm100.goto: test-dgemm100.o $(LIB)
  10. gcc -O2 -fopenmp -o test-dgemm100.goto test-dgemm100.o $(LIB) -lpthread -lm
  11.  
  12.  
  13. test-dgemm256.o: test-dgemm256.c
  14. gcc -c -O2 -fopenmp test-dgemm256.c -o test-dgemm256.o
  15.  
  16. test-dgemm256.goto: test-dgemm256.o $(LIB)
  17. gcc -O2 -fopenmp -o test-dgemm256.goto test-dgemm256.o $(LIB) -lpthread -lm
  18.  
  19.  
  20.  
  21. clean:
  22. rm -f *.o
  23. rm -f test-dgemm100.goto
  24. rm -f test-dgemm256.goto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement