ports/math/sdpa/files/patch-Makefile
Maho Nakata 6004b8dfd6 Add new port math/sdpa.
The SDPA (SemiDefinite Programming Algorithm) is a software package for
solving semidefinite program (SDP). Extremely efficient, almost fastest
around the world!
2003-10-04 04:21:13 +00:00

24 lines
609 B
Text

--- Makefile.orig Fri Jun 6 10:13:51 2003
+++ Makefile Sat Oct 4 11:33:31 2003
@@ -1,8 +1,7 @@
-LAPACK = $(HOME)/lib/b/lapack
+LAPACK = %%LOCALBASE%%
RSDPA = .
-LAPACK_LIB = -llapack -lcblaswr -lcblas \
- -lf77blas -lI77 -lF77 -latlas
+LAPACK_LIB = %%LAPACK%% %%CBLAS%%
# if you use BLAS in clapack.tgz, use next line
# and set NON_ATLAS_SDPA in rsdpa_include.h to 1.
@@ -14,8 +13,8 @@
#RSDPA_LIB_NAME = rsdpa
RSDPA_LIB = -l$(RSDPA_LIB_NAME)
-CC = g++
-OPTION = -O3 # -Wall # -g
+CC = %%CXX%%
+OPTION = %%CXXFLAGS%%
TARGET_EXE = $(RSDPA_LIB_NAME)
#TARGET_EXE = rsdpa_main.exe