OpenBLAS/lapack-netlib/CBLAS/Makefile

38 lines
750 B
Makefile
Raw Normal View History

TOPSRCDIR = ..
include $(TOPSRCDIR)/make.inc
.PHONY: all
2017-11-24 01:13:35 +08:00
all: cblas
.PHONY: cblas
2017-11-24 01:13:35 +08:00
cblas: include/cblas_mangling.h
$(MAKE) -C src
2017-11-24 01:13:35 +08:00
include/cblas_mangling.h: include/cblas_mangling_with_flags.h.in
cp include/cblas_mangling_with_flags.h.in $@
.PHONY: cblas_testing
2017-11-24 01:13:35 +08:00
cblas_testing: cblas
$(MAKE) -C testing run
.PHONY: cblas_example
2017-11-24 01:13:35 +08:00
cblas_example: cblas
$(MAKE) -C examples
.PHONY: clean cleanobj cleanlib cleanexe cleantest
2017-11-24 01:13:35 +08:00
clean:
$(MAKE) -C src clean
$(MAKE) -C testing clean
$(MAKE) -C examples clean
cleanobj:
$(MAKE) -C src cleanobj
$(MAKE) -C testing cleanobj
$(MAKE) -C examples cleanobj
cleanlib:
$(MAKE) -C src cleanlib
cleanexe:
$(MAKE) -C testing cleanexe
$(MAKE) -C examples cleanexe
cleantest:
$(MAKE) -C testing cleantest