Skip to content

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ddvk committed Apr 29, 2020
1 parent 96561d4 commit c39214b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
LDFLAGS:="-ldflags -s -w"
LDFLAGS:="-s -w"

run:
go run .

build:
go build -o bin/rmfakecloud-x64
GOARCH=arm GOARM=7 go build $(LDFLAGS) -o bin/rmfakecloud-armv7
GOARCH=arm GOARM=6 go build $(LDFLAGS) -o bin/rmfakecloud-armv6
GOARCH=arm GOARM=7 go build -ldflags $(LDFLAGS) -o bin/rmfakecloud-armv7
GOARCH=arm GOARM=6 go build -ldflags $(LDFLAGS) -o bin/rmfakecloud-armv6
test:
@echo "some test"

Expand Down

0 comments on commit c39214b

Please sign in to comment.