Merge pull request #291 from larsmans/fix-makefile-prefix
fix default prefix handling in makefiles
This commit is contained in:
		
						commit
						cc6db2ecfe
					
				
							
								
								
									
										4
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										4
									
								
								Makefile
								
								
								
								
							|  | @ -15,10 +15,6 @@ ifdef SANITY_CHECK | |||
| BLASDIRS += reference | ||||
| endif | ||||
| 
 | ||||
| ifndef PREFIX | ||||
| PREFIX = /opt/OpenBLAS | ||||
| endif | ||||
| 
 | ||||
| SUBDIRS	= $(BLASDIRS) | ||||
| ifneq ($(NO_LAPACK), 1) | ||||
| SUBDIRS	+= lapack | ||||
|  |  | |||
|  | @ -3,6 +3,8 @@ export GOTOBLAS_MAKEFILE = 1 | |||
| -include $(TOPDIR)/Makefile.conf_last | ||||
| include ./Makefile.system | ||||
| 
 | ||||
| PREFIX?=/opt/OpenBLAS | ||||
| 
 | ||||
| OPENBLAS_INCLUDE_DIR:=$(PREFIX)/include | ||||
| OPENBLAS_LIBRARY_DIR:=$(PREFIX)/lib | ||||
| OPENBLAS_BUILD_DIR:=$(CURDIR) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue