Revision 1473

trunk/src/GNUmakefile (revision 1473)
116 116

  
117 117
shared: all
118 118
ifeq ($(SHELL),cmd)
119
	$(CXX) -static -shared -o $(DIST)\lib\admbo.dll $(DIST)\lib\libadmbo.a
120
	$(CXX) -static -shared -o $(DIST)\lib\admb.dll $(DIST)\lib\libadmb.a
119
	cd ..\build\objects\dist & $(CXX) -static -shared -o ..\..\dist\lib\admbo.dll optlp-*.obj
120
	cd ..\build\objects\dist & $(CXX) -static -shared -o ..\..\dist\lib\admb.dll saflp-*.obj
121 121
else
122
	$(CXX) -shared -o$(DIST)/lib/libadmbo.so $(DIST)/lib/libadmbo.a
123
	$(CXX) -shared -o$(DIST)/lib/libadmb.so $(DIST)/lib/libadmb.a
122
	cd ../build/objects/dist & $(CXX) -shared -o/lib/libadmbo.so optlp-*.obj
123
	cd ../build/objects/dist & $(CXX) -shared -o$(DIST)/lib/libadmb.so saflp-*.obj
124 124
endif
125 125
	@echo ADMB shared build completed.
126 126
	@echo Check README.txt for usage and installation information.

Also available in: Unified diff