1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-05-07 19:29:19 +08:00
2014-05-05 21:50:13 +08:00

24 lines
302 B
Makefile

CC = gcc
AR = ar rcv
RANLIB = ranlib
HEADERS = blas.h blasp.h
FILES = dnrm2.o daxpy.o ddot.o dscal.o
CFLAGS = $(OPTFLAGS)
FFLAGS = $(OPTFLAGS)
blas: $(FILES) $(HEADERS)
$(AR) blas.a $(FILES)
$(RANLIB) blas.a
clean:
- rm -f *.o
- rm -f *.a
- rm -f *~
.c.o:
$(CC) $(CFLAGS) -c $*.c