Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Xumeiquer committed Mar 13, 2018
1 parent c20a0a5 commit 7f9b0c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ Other way to get the binaries is compiling the project manually.

* First of all you have to compile and install Yara. Please follow the intructions [here](https://github.com/VirusTotal/yara).
* Seccond, you have to clone this repo o download it by running `go get github.com/Yara-Rules/yara-endpoint`.
* Third, you have to go to either `client` or `server` folder and then run `go get -u`.
* Fourth, build the project it self by running `make local`.
* Fourth, build the project it self by running `make local`. This will update the Go libraries before running the compile.

The final binary will be located in the build folder.

Expand Down
1 change: 1 addition & 0 deletions client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ windows-x64:
xgo -image $(DOCKER_IMAGE) -tags $(YARA_TAG) -ldflags $(LDFLAGS) -dest build -out $(OUT_NAME) -deps $(DEPS) -targets="windows/amd64" .

local:
go get -u
go build -o "$(TARGET_DIR)/$(OUT_NAME)" -ldflags $(LDFLAGS) .

clean:
Expand Down
1 change: 1 addition & 0 deletions server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ windows-x64:
xgo -image $(DOCKER_IMAGE) -tags $(YARA_TAG) -ldflags $(LDFLAGS) -dest build -out $(OUT_NAME) -deps $(DEPS) -targets="windows/amd64" .

local:
go get -u
go build -o "$(TARGET_DIR)/$(OUT_NAME)" -ldflags $(LDFLAGS) .

clean:
Expand Down

0 comments on commit 7f9b0c8

Please sign in to comment.