1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-14 11:49:01 +00:00
Files
nmap/liblinear/blas/Makefile
david 30e6802bf0 Put ar flags in commands, not in the AR variable.
AR was set to "ar rcv", which caused an error when AR was overridden
because the "rcv" flags were lost. This was noticed and fixed by Nuno
Gonçalves.
2012-01-08 21:21:22 +00:00

23 lines
300 B
Makefile

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