source: branches/dynamicbranching/Makefile @ 966

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

added -lOsiClp

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