1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-05-05 19:30:19 +08:00

23 lines
293 B
Makefile
Raw Normal View History

2014-05-05 21:47:56 +08:00
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