C languange DGEQRF 示例,link liblapack.a

1.示例源码

#include 

int min(int m, int n){  return m

2. Makefile


STATIC_LIB =  ../../liblapack.a ../../librefblas.a
LD_FLAGS   =  -lgfortran  -lm

EXE := dgeqrf_

all: $(EXE)

%: %.c
        gcc -g $< $(STATIC_LIB) $(LD_FLAGS) -o $@


.PHONY: clean
clean:
        ${RM} $(EXE) *.o

3. 运行

C languange DGEQRF 示例,link liblapack.a_第1张图片

你可能感兴趣的:(c语言,算法,开发语言)