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

23 lines
308 B
Makefile

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) -fpic -c $*.c