Revision 1472 trunk/src/GNUmakefile

GNUmakefile (revision 1472)
114 114
	@echo ADMB build completed.
115 115
	@echo Check README.txt for usage and installation information.
116 116

  
117
shared: objects
118
	$(CXX) -shared -o${DIST}/lib/libadmb.so ../build/objects/dist/saflp-*.obj
119
	$(CXX) -shared -o${DIST}/lib/libadmbo.so ../build/objects/dist/optlp-*.obj
117
shared: all
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
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
124
endif
120 125
	@echo ADMB shared build completed.
121 126
	@echo Check README.txt for usage and installation information.
122 127

  

Also available in: Unified diff