Skip to content

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
itaysk committed Apr 6, 2020
1 parent 9eb9f29 commit 35202dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ os ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')
.PHONY: build
build: tracee_$(os)

SRC = $(shell find . -type f -name '*.go')
SRC = $(shell find . -type f -name '*.go' ! -name '*_test.go' )
tracee_%: $(SRC)
GOOS=$* go build -o $(@F)

.PHONY: test
test: $(SRC)
test:
go test -v ./...

.PHONY: clean
Expand Down

0 comments on commit 35202dc

Please sign in to comment.