Revision 1043 trunk/contrib/GNUmakefile

GNUmakefile (revision 1043)
1
.NOPARALLEL: all
2

  
1 3
ifneq ($(SHELL),sh.exe)
2 4
DISK=../build/dist
3 5
else
......
23 25
  endif
24 26
endif
25 27

  
26
all: contribs build-ad2csv
28
ad2csv: build-ad2csv
27 29

  
28
contribs: build-statslib build-ecolib build-qfclib build-src
30
all: build-statslib build-ecolib build-qfclib build-src
29 31
ifneq ($(SHELL),sh.exe)
30 32
	$(AR) -rs $(DISK)/contrib/lib/libcontrib.a ../build/objects/dist/saflp-contrib-*.obj
31 33
	$(AR) -rs $(DISK)/contrib/lib/libcontribo.a ../build/objects/dist/optlp-contrib-*.obj
......
34 36
	$(AR) -rs $(DISK)\contrib\lib\libcontribo.a ..\build\objects\dist\optlp-contrib-*.obj
35 37
endif
36 38

  
37

  
38 39
build-statslib:
39 40
	$(MAKE) --directory=statslib CXX=$(CXX) CXXFLAGS="-DSAFE_ALL $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/saflp-contrib-statslib-
40 41
	$(MAKE) --directory=statslib CXX=$(CXX) CXXFLAGS="-DOPT_LIB $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/optlp-contrib-statslib-
......
62 63
	cp qfclib/qfclib.h $(DISK)/contrib/include
63 64
endif
64 65

  
65
build-ad2csv:
66
build-ad2csv: all
66 67
ifneq ($(SHELL),sh.exe)
67 68
	$(MAKE) --directory=ad2csv ADMB_HOME="$(ADMB_HOME)"
68 69
endif

Also available in: Unified diff