-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·20 lines (16 loc) · 795 Bytes
/
Makefile
File metadata and controls
executable file
·20 lines (16 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
WINE_ROOT=wine-root
RELEASE=5.1.1.0
INSTALLER="iqfeed_client_$(shell echo $(RELEASE) | sed 's/\./_/g').exe"
DEB=iqfeed-$(RELEASE)_amd64.deb
menu:
@echo "Because of required manual intervention, there are five steps:"
@echo " make fetch -- fetch $(INSTALLER) from www.iqfeed.net"
@echo " make install -- install into a subdirectory (requires GUI)"
@echo " make launch -- configure login/password (requires GUI)"
fetch:
wget http://www.iqfeed.net/$(INSTALLER)
install:
mkdir -p $(shell pwd)/$(WINE_ROOT) && WINEPREFIX=$(shell pwd)/$(WINE_ROOT) wine $(INSTALLER)
launch:
@echo "Set up your username, password and autoconnect, then connect and test"
WINEPREFIX=$(shell pwd)/$(WINE_ROOT) wine 'c:\\Program Files (x86)\\DTN\\IQFeed\\iqconnect.exe' -product IQFEED_DEMO -version 1.0.0.0