Files
lapack/CBLAS/examples/Makefile
T
Kyle Guinn 8fce0e24bd Simplify the clean targets
cleanobj:  Remove object files
cleanlib:  Remove libraries
cleanexe:  Remove test and example executables
cleantest: Remove test output and core dumps
clean:     All of the above
2017-02-06 01:07:10 -06:00

18 lines
349 B
Makefile

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