Revision 1059 trunk/contrib/GNUmakefile

GNUmakefile (revision 1059)
17 17

  
18 18
ad2csv: build-ad2csv
19 19

  
20
all: build-statslib build-ecolib build-qfclib build-src
20
all: build-gdbprintlib build-statslib build-ecolib build-qfclib build-src
21 21
ifneq ($(SHELL),sh.exe)
22 22
	$(AR) -rs $(DISK)/contrib/lib/libcontrib.a ../build/objects/dist/saflp-contrib-*.obj
23 23
	$(AR) -rs $(DISK)/contrib/lib/libcontribo.a ../build/objects/dist/optlp-contrib-*.obj
......
26 26
	$(AR) -rs $(DISK)\contrib\lib\libcontribo.a ..\build\objects\dist\optlp-contrib-*.obj
27 27
endif
28 28

  
29
build-gdbprintlib:
30
	$(MAKE) --directory=gdbprintlib CXX=$(CXX) CXXFLAGS="-DSAFE_ALL $(CXXFLAGS) -I\"$(ADMB_HOME)/include\"" PREFIX_OBJ=$(LIBPATH)/saflp-contrib-gdbprintlib-
31
ifeq ($(SHELL),sh.exe)
32
	copy gdbprintlib\gdbprintlib.h $(DISK)\contrib\include
33
else
34
	cp gdbprintlib/gdbprintlib.h $(DISK)/contrib/include
35
endif
36

  
29 37
build-statslib:
30 38
	$(MAKE) --directory=statslib CXX=$(CXX) CXXFLAGS="-DSAFE_ALL $(CXXFLAGS) -I\"$(ADMB_HOME)/include\"" PREFIX_OBJ=$(LIBPATH)/saflp-contrib-statslib-
31 39
	$(MAKE) --directory=statslib CXX=$(CXX) CXXFLAGS="-DOPT_LIB $(CXXFLAGS) -I\"$(ADMB_HOME)/include\"" PREFIX_OBJ=$(LIBPATH)/optlp-contrib-statslib-
......
80 88
	$(MAKE) --directory=qfclib ADMB_HOME="$(ADMB_HOME)" test
81 89

  
82 90
clean:
91
	@$(MAKE) --directory=gdbprintlib clean
83 92
	@$(MAKE) --directory=ecolib clean
84 93
	@$(MAKE) --directory=qfclib clean
85 94
	@$(MAKE) --directory=statslib clean

Also available in: Unified diff