Revision 893 trunk/contrib/GNUmakefile

GNUmakefile (revision 893)
23 23
build-statslib:
24 24
	$(MAKE) --directory=statslib CXX=$(CXX) CXXFLAGS="-DSAFE_ALL $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/saflp-contrib-statslib-
25 25
	$(MAKE) --directory=statslib CXX=$(CXX) CXXFLAGS="-DOPT_LIB $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/optlp-contrib-statslib-
26
	cp statsLib.h $(ADMB_HOME)/contrib/include
26 27

  
27 28
build-ecolib:
28 29
	$(MAKE) --directory=ecolib CXX=$(CXX) CXXFLAGS="-DSAFE_ALL $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/saflp-contrib-ecolib-
29 30
	$(MAKE) --directory=ecolib CXX=$(CXX) CXXFLAGS="-DOPT_LIB $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/optlp-contrib-ecolib-
31
	cp ecolib.h $(ADMB_HOME)/contrib/include
30 32

  
31 33
build-qfclib:
32 34
	$(MAKE) --directory=qfclib CXX=$(CXX) CXXFLAGS="-DSAFE_ALL $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/saflp-contrib-qfclib-
33 35
	$(MAKE) --directory=qfclib CXX=$(CXX) CXXFLAGS="-DOPT_LIB $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/optlp-contrib-qfclib-
36
	cp qfclib.h $(ADMB_HOME)/contrib/include
34 37

  
35 38
build-ad2csv:
36 39
	$(MAKE) --directory=ad2csv ADMB_HOME="$(ADMB_HOME)"
......
41 44
build-sample:
42 45
	$(MAKE) --directory=sample CXX=$(CXX) CXXFLAGS="-DOPT_LIB $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/optlp-contrib-sample-
43 46
	$(MAKE) --directory=sample CXX=$(CXX) CXXFLAGS="-DSAFE_ALL $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/saflp-contrib-sample-
47
	cp sample.h $(ADMB_HOME)/contrib/include
44 48

  
45 49
test:
46 50
	$(MAKE) --directory=sample ADMB_HOME="$(ADMB_HOME)" test 

Also available in: Unified diff