summaryrefslogtreecommitdiff
path: root/Makefile.install
diff options
context:
space:
mode:
authorOlivier Grisel <olivier.grisel@ensta.org>2014-02-24 13:21:06 +0100
committerOlivier Grisel <olivier.grisel@ensta.org>2014-02-24 13:21:06 +0100
commit5de5ef118c2c6a742765202a5ee3ff97d2ca27d1 (patch)
tree46bf516c493be68360d36f2eada1457483a61eb7 /Makefile.install
parentb20ee6924afed9700b32eb6b2b0c62d87f824240 (diff)
downloadopenblas-5de5ef118c2c6a742765202a5ee3ff97d2ca27d1.tar.gz
openblas-5de5ef118c2c6a742765202a5ee3ff97d2ca27d1.tar.bz2
openblas-5de5ef118c2c6a742765202a5ee3ff97d2ca27d1.zip
More robust OPENBLAS_ prefixing of macros in openblas_config.h
Diffstat (limited to 'Makefile.install')
-rw-r--r--Makefile.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.install b/Makefile.install
index cc588a322..a24f5b26d 100644
--- a/Makefile.install
+++ b/Makefile.install
@@ -23,7 +23,7 @@ install : lib.grd
#for inc
@echo \#ifndef OPENBLAS_CONFIG_H > $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/openblas_config.h
@echo \#define OPENBLAS_CONFIG_H >> $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/openblas_config.h
- @awk '{print $$1, "OPENBLAS_"$$2, $$3}' config_last.h >> $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/openblas_config.h
+ @awk 'NF {print $$1, "OPENBLAS_"$$2, $$3}' config_last.h >> $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/openblas_config.h
@echo \#define OPENBLAS_VERSION \" OpenBLAS $(VERSION) \" >> $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/openblas_config.h
@cat openblas_config_template.h >> $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/openblas_config.h
@echo \#endif \/\* OPENBLAS_CONFIG_H \*\/ >> $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/openblas_config.h