source: branches/dynamicbranching/Makefile @ 963

Last change on this file since 963 was 963, checked in by ladanyi, 12 years ago

set up the dir for working on dynamic branching

File size: 668 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 += -lOsi
12LDFLAGS += -lClp
13LDFLAGS += -lCoinUtils
14LDFLAGS += `cat $(COININSTDIR)/share/doc/coin/Osi/osi_addlibs.txt`
15LDFLAGS += `cat $(COININSTDIR)/share/doc/coin/Clp/clp_addlibs.txt`
16LDFLAGS += `cat $(COININSTDIR)/share/doc/coin/CoinUtils/coinutils_addlibs.txt`
17
18
19$(NAME): $(OBJS) $(SRC) $(INCL) 
20        $(CXX) $(OBJS) $(LDFLAGS) -o $(NAME) 
21
22clean:
23        rm -f $(NAME) $(OBJS)
24
25.cpp.o:
26        $(CXX) $(CXXFLAGS) -c $< 
Note: See TracBrowser for help on using the repository browser.