When I run my program from the command line I have no problems, with commands such as:
- Code: Select all
gcc program.c -o program.exe -llapack -lblas
But when I try to compile using make, I have errors. My make file looks like this:
- Code: Select all
project: program.o
cc program.o -o project
program.o: program.c
cc -c program.c -llapack -lblas
And then from the command line I enter: make -f makefile and I get the following type of erros:
- Code: Select all
program.o:program.c:(.text+0x59a): undefined reference to `_cblas_dgemv'
Any ideas?
Thanks.

