Tim Murray | 81253e9 | 2015-02-17 11:29:36 -0800 | [diff] [blame] | 1 | # |
| 2 | # Makefile.LINUX |
| 3 | # |
| 4 | # |
| 5 | # If you compile, change the name to Makefile.in. |
| 6 | # |
| 7 | # |
| 8 | |
| 9 | #----------------------------------------------------------------------------- |
| 10 | # Shell |
| 11 | #----------------------------------------------------------------------------- |
| 12 | |
| 13 | SHELL = /bin/sh |
| 14 | |
| 15 | #----------------------------------------------------------------------------- |
| 16 | # Platform |
| 17 | #----------------------------------------------------------------------------- |
| 18 | |
| 19 | PLAT = LINUX |
| 20 | |
| 21 | #----------------------------------------------------------------------------- |
| 22 | # Libraries and includs |
| 23 | #----------------------------------------------------------------------------- |
| 24 | |
| 25 | BLLIB = libblas.a |
| 26 | CBLIB = ../lib/cblas_$(PLAT).a |
| 27 | |
| 28 | #----------------------------------------------------------------------------- |
| 29 | # Compilers |
| 30 | #----------------------------------------------------------------------------- |
| 31 | |
| 32 | CC = gcc |
| 33 | FC = gfortran |
| 34 | LOADER = $(FC) |
| 35 | |
| 36 | #----------------------------------------------------------------------------- |
| 37 | # Flags for Compilers |
| 38 | #----------------------------------------------------------------------------- |
| 39 | |
| 40 | CFLAGS = -O3 -DADD_ |
| 41 | FFLAGS = -O3 |
| 42 | |
| 43 | #----------------------------------------------------------------------------- |
| 44 | # Archive programs and flags |
| 45 | #----------------------------------------------------------------------------- |
| 46 | |
| 47 | ARCH = ar |
| 48 | ARCHFLAGS = r |
| 49 | RANLIB = echo |