source: trunk/Makefile @ 216

Last change on this file since 216 was 173, checked in by forrest, 15 years ago

add solve as well as solver

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1# Look at and if necessary edit the following files:
2# - ../Makefiles/Makefile.location
3# - Makefile.Cbc
4
5###############################################################################
6
7export CoinDir := $(shell cd ..; pwd)
8export MakefileDir := $(CoinDir)/Makefiles
9include ${MakefileDir}/Makefile.coin
10include ${MakefileDir}/Makefile.location
11
12###############################################################################
13
14.DELETE_ON_ERROR:
15
16.PHONY: default install clean library unitTest solver solve libdepend libCbc doc
17
18default: install
19libCbc: library
20
21libCbc: library
22
23install library: libdepend
24        ${MAKE} -f Makefile.Cbc $@
25
26# Uncomment below to build OsiDylp
27
28libdepend:
29        (cd $(CoinDir)/Coin && $(MAKE) install)
30        (cd $(CoinDir)/Clp && $(MAKE) install)
31ifeq ($(VolDefine),COIN_HAS_VOL)
32        (cd $(CoinDir)/Vol && $(MAKE) install)
33endif
34ifneq ($(filter COIN_libOsiClp,$(CoinLibsDefined)),)
35        (cd $(CoinDir)/Osi/OsiClp && $(MAKE) install)
36endif
37ifneq ($(filter COIN_libOsiCbc,$(CoinLibsDefined)),)
38        (cd $(CoinDir)/Osi/OsiCbc && $(MAKE) -f Makefile.lightweight install)
39endif
40#       (cd $(CoinDir)/Osi/OsiDylp && $(MAKE) install)
41        (cd $(CoinDir)/Cgl && $(MAKE) install)
42
43unitTest:
44        (cd Test && ${MAKE} unitTest)
45
46solver:
47        (cd Test && ${MAKE} solver)
48
49solve:
50        (cd Test && ${MAKE} solver)
51
52clean:
53        @rm -rf Junk
54        @rm -rf $(UNAME)*
55        @rm -rf dep
56        @rm -rf Test/Junk
57        @rm -rf Test/$(UNAME)*
58        @rm -rf Test/dep
59        @rm -f cbc
60
61doc:
62        doxygen $(MakefileDir)/doxygen.conf
Note: See TracBrowser for help on using the repository browser.