source: tags/move-to-subversion/Makefile.lightweight @ 371

Last change on this file since 371 was 247, checked in by forrest, 14 years ago

try again

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 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
11ifneq (,$(filter COIN_HAS_OSICLP, $(OsiClpDefine)))
12#  add in USE
13CXXFLAGS += $(addprefix -D,COIN_USE_CLP)
14endif
15
16###############################################################################
17
18.DELETE_ON_ERROR:
19
20.PHONY: default install clean library unitTest solver libdepend libCbc doc
21
22default: install
23libCbc: library
24
25libCbc: library
26
27install library: libdepend
28        ${MAKE} -f Makefile.Cbc $@
29
30# Uncomment below to build OsiDylp
31
32libdepend:
33        (cd $(CoinDir)/Coin && $(MAKE) install)
34        (cd $(CoinDir)/Clp && $(MAKE) install)
35#       (cd $(CoinDir)/Osi/OsiClp && $(MAKE) install)
36#       (cd $(CoinDir)/Osi/OsiCbc && $(MAKE) -f Makefile.lightweight install)
37#       (cd $(CoinDir)/Osi/OsiDylp && $(MAKE) install)
38        (cd $(CoinDir)/Cgl && $(MAKE) install)
39unitTest:
40        (cd Test && ${MAKE} unitTest)
41
42solver:
43        (cd Test && ${MAKE} solver)
44
45clean:
46        @rm -rf Junk
47        @rm -rf $(UNAME)*
48        @rm -rf dep
49        @rm -rf Test/Junk
50        @rm -rf Test/$(UNAME)*
51        @rm -rf Test/dep
52        @rm -f cbc
53
54doc:
55        doxygen $(MakefileDir)/doxygen.conf
Note: See TracBrowser for help on using the repository browser.