source: trunk/Makefile @ 284

Last change on this file since 284 was 107, checked in by mjs, 17 years ago

Makefiles: 'make clean' should really clean up, including unit tests.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 889 bytes
Line 
1# Look at and if necessary edit the following files:
2# - ../Makefiles/Makefile.location
3# - Makefile.Clp
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 libdepend libClp doc
17
18default: install
19libClp: library
20
21libClp: library
22
23install library: libdepend
24        ${MAKE} -f Makefile.Clp $@
25
26libdepend:
27        (cd $(CoinDir)/Coin && $(MAKE) install)
28
29unitTest:
30        (cd Test && ${MAKE} unitTest)
31
32clean:
33        @rm -rf Junk
34        @rm -rf $(UNAME)*
35        @rm -rf dep
36        @rm -rf Test/Junk
37        @rm -rf Test/$(UNAME)*
38        @rm -rf Test/dep
39        @rm -f clp
40
41doc:
42        doxygen $(MakefileDir)/doxygen.conf
Note: See TracBrowser for help on using the repository browser.