Revision 1046 trunk/src/GNUmakefile

GNUmakefile (revision 1046)
1 1
.NOTPARALLEL: all libs contrib
2 2

  
3
MAKEFLAGS_J=-j
4

  
5 3
ifeq ($(SHELL),sh.exe)
6 4
  DISK=..\build\dist
7 5
  LIBPATH=..\build\objects\dist
......
85 83
	mkdir -p ${DISK}/contrib/lib
86 84
	mkdir -p ${DISK}/contrib/bin
87 85
	mkdir -p ${DISK}/contrib/include
88
	$(MAKE) ADMB_HOME="${PWD}/${DISK}" --directory=../contrib
86
	$(MAKE) CXXFLAGS="$(CXXFLAGS)" ADMB_HOME="${PWD}/${DISK}" --directory=../contrib
89 87
else
90 88
	if not exist ${DISK}\contrib md ${DISK}\contrib
91 89
	if not exist ${DISK}\contrib\lib md ${DISK}\contrib\lib
92 90
	if not exist ${DISK}\contrib\bin md ${DISK}\contrib\bin
93 91
	if not exist ${DISK}\contrib\include md ${DISK}\contrib\include
94
	$(MAKE) ADMB_HOME="$(PWD)\${DISK}" --directory=..\contrib
92
	$(MAKE) CXXFLAGS="$(CXXFLAGS)" ADMB_HOME="$(PWD)\${DISK}" --directory=..\contrib
95 93
endif
96 94

  
97 95
libs: admbsaf

Also available in: Unified diff