forked from mikha-dev/mt4-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (34 loc) · 1005 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
GO = go
ENV = export GOPATH=$(CURDIR)/lib/src
GOGET = export GOPATH=$(CURDIR)/lib/src; $(GO) get
BUILD = $(ENV); $(GO) build
tst:
@echo "$(CURDIR)"
dep:
$(GOGET) github.com/BurntSushi/toml
$(GOGET) github.com/gorilla/websocket
$(GOGET) gopkg.in/doug-martin/goqu.v3
$(GOGET) gopkg.in/doug-martin/goqu.v3/adapters/mysql
$(GOGET) github.com/go-sql-driver/mysql
$(GOGET) github.com/google/gops
$(GOGET) gopkg.in/iconv.v1
tc-dep: dep
$(GOGET) github.com/golang/protobuf/proto
$(GOGET) github.com/streadway/amqp
$(GOGET) github.com/assembla/cony
mtapitest:
$(BUILD) -o bin/mtapitest.exe apps/apitest.go
mtdealerapi: dep
$(BUILD) -o bin/mtdealerapi.exe apps/dealerapi.go
mtreportapi: dep
$(BUILD) -o bin/mtreportapi.exe apps/reportapi.go
$(BUILD) -o bin/mtreportapi apps/reportapi.go
tcapi: dep
$(BUILD) -o bin/tcapi apps/tcapi.go
tcdealer: dep
$(BUILD) -o bin/tcdealer apps/tcdealer.go
gops: dep
$(BUILD) -o bin/gops github.com/google/gops
tc-dealer: tc-dep
clean:
rm -rf ./bin/*