Statistics
| Revision:

root / trunk / contrib / Makefile @ 978

History | View | Annotate | Download (1002 Bytes)

1
all: contribs
2

    
3
contribs: build-src build-statslib build-qfclib build-ecolib
4

    
5
build-statslib:
6
	pushd statslib& ..\..\utilities\make CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" ADMB_HOME="$(ADMB_HOME)" PREFIX_OBJ=$(PREFIX_OBJ)statslib-
7
	copy statslib\statsLib.h $(ADMB_HOME)\contrib\include
8

    
9
build-ecolib:
10
	pushd ecolib& ..\..\utilities\make CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" ADMB_HOME="$(ADMB_HOME)" PREFIX_OBJ=$(PREFIX_OBJ)ecolib-
11
	copy ecolib\ecolib.h $(ADMB_HOME)\contrib\include
12

    
13
build-qfclib:
14
	pushd qfclib& ..\..\utilities\make CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" ADMB_HOME="$(ADMB_HOME)" PREFIX_OBJ=$(PREFIX_OBJ)qfclib-
15
	copy qfclib\qfclib.h $(ADMB_HOME)\contrib\include
16

    
17
build-src:
18
	pushd src& ..\..\utilities\make CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" ADMB_HOME="$(ADMB_HOME)" PREFIX_OBJ=$(PREFIX_OBJ)contributions-
19
	copy src\contrib.h $(ADMB_HOME)\contrib\include
20

    
21
test:
22
	cd ecolib& $(MAKE) test
23
	cd qfclib& $(MAKE) test
24

    
25
clean:
26
	cd ecolib& $(MAKE) clean
27
	cd qfclib& $(MAKE) clean
28
	cd statslib& $(MAKE) clean