Files
lapack/CBLAS/examples/Makefile
T
Kyle Guinn 3442a58f55 Avoid rebuilding CBLAS library and examples
Use targets that are actual filenames so that make can determine if the
target is already up-to-date.

Since $(CBLASLIB) is a relative path, delete it from a Makefile at the
right depth.
2017-01-22 19:39:13 -06:00

15 lines
335 B
Makefile

include ../../make.inc
all: cblas_ex1 cblas_ex2
cblas_ex1: cblas_example1.o
$(LOADER) $(LOADOPTS) -o $@ cblas_example1.o $(CBLASLIB) $(BLASLIB)
cblas_ex2: cblas_example2.o
$(LOADER) $(LOADOPTS) -o $@ cblas_example2.o $(CBLASLIB) $(BLASLIB)
cleanall:
rm -f *.o cblas_ex1 cblas_ex2
.c.o:
$(CC) $(CFLAGS) -I../include -c -o $@ $<