File: lpsolve

package info (click to toggle)
mccs 1%3A1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 692 kB
  • sloc: ansic: 6,051; yacc: 652; makefile: 145; lex: 129; sh: 10
file content (31 lines) | stat: -rw-r--r-- 897 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Author: Ralf Treinen <treinen@debian.org>
Description: Configure to use lpsolve as solving engine

Index: mccs-1.0/make.local
===================================================================
--- mccs-1.0.orig/make.local	2011-05-06 14:19:48.000000000 +0200
+++ mccs-1.0/make.local	2011-05-06 14:21:18.000000000 +0200
@@ -28,19 +28,19 @@
 #======================================================
 
 # if you want to use cplex uncomment next line (or use USELPSOLVE=1 as make parameter) 
-#USELPSOLVE=1
+USELPSOLVE=1
 
 
 ifeq ($(USELPSOLVE),1)
 
 # Path to the LPSOLVE main dir
-LPSOLVEDIR=$(PWD)/../lpsolve/dev
+LPSOLVEDIR=/usr/lib
 
 # Path to the LPSOLVE include files
-LPSOLVEINC=${LPSOLVEDIR}
+LPSOLVEINC=/usr/include/lpsolve
 
 # LPSOLVE library path and options
-LPSOLVELD=-L${LPSOLVEDIR} -llpsolve55 -Wl,-rpath,${LPSOLVEDIR}
+LPSOLVELD=-L${LPSOLVEDIR} -llpsolve55 -ldl -lcolamd
 
 endif