Revision 978 trunk/contrib/Makefile

Makefile (revision 978)
1 1
all: contribs
2 2

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

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

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

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

Also available in: Unified diff