source: branches/dynamicbranching/Makefile

Last change on this file was 977, checked in by ladanyi, 13 years ago

shared libs should be found now

File size: 703 bytes
Line 
1COININSTDIR = $(HOME)/COIN/Osi/0.98/build
2CXX = g++
3CXXFLAGS = -g -Wall -I$(COININSTDIR)/include/coin
4
5LDFLAGS  = -Wl,-rpath,$(COININSTDIR)/lib
6LDFLAGS += -L$(COININSTDIR)/lib
7LDFLAGS += -lOsiClp
8LDFLAGS += -lOsi
9LDFLAGS += -lClp
10LDFLAGS += -lCoinUtils
11LDFLAGS += `cat $(COININSTDIR)/share/doc/coin/Osi/osi_addlibs.txt`
12LDFLAGS += `cat $(COININSTDIR)/share/doc/coin/Clp/clp_addlibs.txt`
13LDFLAGS += `cat $(COININSTDIR)/share/doc/coin/CoinUtils/coinutils_addlibs.txt`
14
15
16dynamicbranching: dynamicbranching.o
17        $(CXX) dynamicbranching.o $(LDFLAGS) -o $@
18
19dynamicLL: dynamicLL.o
20        $(CXX) dynamicbranching.o $(LDFLAGS) -o $@
21
22clean:
23        rm -f *.o dynamicbranching dynamicLL
24
25.cpp.o:
26        $(CXX) $(CXXFLAGS) -c $< 
Note: See TracBrowser for help on using the repository browser.