summaryrefslogtreecommitdiff
path: root/Makefile.install
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.install')
-rw-r--r--Makefile.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.install b/Makefile.install
index cbe98bc5b..8319b46db 100644
--- a/Makefile.install
+++ b/Makefile.install
@@ -23,8 +23,8 @@ install : lib.grd
#for inc
@echo \#ifndef OPENBLAS_CONFIG_H > $(OPENBLAS_INCLUDE_DIR)/openblas_config.h
@echo \#define OPENBLAS_CONFIG_H >> $(OPENBLAS_INCLUDE_DIR)/openblas_config.h
- @cat config_last.h >> $(OPENBLAS_INCLUDE_DIR)/openblas_config.h
- @echo \#define VERSION \" OpenBLAS $(VERSION) \" >> $(OPENBLAS_INCLUDE_DIR)/openblas_config.h
+ @awk '{print $$1, "OPENBLAS_"$$2, $$3}' config_last.h >> $(OPENBLAS_INCLUDE_DIR)/openblas_config.h
+ @echo \#define OPENBLAS_VERSION \" OpenBLAS $(VERSION) \" >> $(OPENBLAS_INCLUDE_DIR)/openblas_config.h
@cat openblas_config_template.h >> $(OPENBLAS_INCLUDE_DIR)/openblas_config.h
@echo \#endif \/\* OPENBLAS_CONFIG_H \*\/ >> $(OPENBLAS_INCLUDE_DIR)/openblas_config.h