Revision 1348

trunk/src/GNUmakefile (revision 1348)
115 115
endif
116 116

  
117 117
all: revision dist contrib
118
ifdef USE_DOS
118
ifeq ($(TERMINAL),dos)
119 119
	pushd $(DISK) & cscript ..\..\scripts\create-admb-shortcut.vbs & popd
120 120
endif
121 121
ifndef BUILD_SHARED_LIBRARY
......
132 132
	@echo For installation, check README.txt.
133 133

  
134 134
revision:
135
ifeq ($(TERMINAL),dos)
136
	-svnversion .. > ..\REVISION
137
else
135 138
	-svnversion .. > ../REVISION
139
endif
140

  
136 141
dist:
137 142
ifeq ($(TERMINAL),dos)
138 143
	if not exist ${DISK} md ${DISK}
......
224 229

  
225 230
ifeq ($(TERMINAL),dos)
226 231
..\build\objects\dist\optlp-nh99-banner.obj: nh99\banner.cpp
227
	$(CXX) -c $(CXXFLAGS_OPT) -DADMB_VERSION=$(shell if exist ..\VERSION type ..\VERSION) -DADMB_REVISION=$(shell if exist ..\REVISION type ..\REVISION) -o$@ $<
232
	$(CXX) -c $(CXXFLAGS_OPT) -DADMB_VERSION=$(shell if exist ..\VERSION type ..\VERSION) -o$@ $<
228 233

  
229 234
..\build\objects\dist\saflp-nh99-banner.obj: nh99\banner.cpp
230
	$(CXX) -c $(CXXFLAGS_SAFE) -DADMB_VERSION=$(shell if exist ..\VERSION type ..\VERSION) -DADMB_REVISION=$(shell if exist ..\REVISION type ..\REVISION) -o$@ $<
235
	$(CXX) -c $(CXXFLAGS_SAFE) -DADMB_VERSION=$(shell if exist ..\VERSION type ..\VERSION) -o$@ $<
231 236

  
232 237
..\build\objects\dist\optlp-sparse-hs_sparse.obj: sparse\hs_sparse.cpp
233 238
	$(CXX) -c $(CXXFLAGS_OPT) -o$@ $<

Also available in: Unified diff