Statistics
| Revision:

root / trunk / contrib / Makefile @ 919

History | View | Annotate | Download (963 Bytes)

1
all: contribs
2

    
3
contribs: 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-contributions:
18
	pushd contributions& ..\..\utilities\make CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" ADMB_HOME="$(ADMB_HOME)" PREFIX_OBJ=$(PREFIX_OBJ)contributions-
19

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

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