source: trunk/Makefile.lightweight @ 129

Last change on this file since 129 was 106, checked in by forrest, 16 years ago

for OsiCbc?

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 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 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)
31#       (cd $(CoinDir)/Osi/OsiClp && $(MAKE) install)
32#       (cd $(CoinDir)/Osi/OsiCbc && $(MAKE) -f Makefile.lightweight install)
33#       (cd $(CoinDir)/Osi/OsiDylp && $(MAKE) install)
34        (cd $(CoinDir)/Cgl && $(MAKE) install)
35unitTest:
36        (cd Test && ${MAKE} unitTest)
37
38solver:
39        (cd Test && ${MAKE} solver)
40
41clean:
42        @rm -rf Junk
43        @rm -rf $(UNAME)*
44        @rm -rf dep
45        @rm -rf Test/Junk
46        @rm -rf Test/$(UNAME)*
47        @rm -rf Test/dep
48        @rm -f cbc
49
50doc:
51        doxygen $(MakefileDir)/doxygen.conf
Note: See TracBrowser for help on using the repository browser.