Skip to content

Commit

Permalink
Reordered to have packetbeat as default target
Browse files Browse the repository at this point in the history
  • Loading branch information
Tudor Golubenco committed Nov 10, 2014
1 parent 40c4695 commit fa0f7e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ CONF_PATH?=/etc/packetbeat
VERSION?=0.4.0
ARCH?=$(shell uname -m)

.PHONY: deps
deps:
go get

packetbeat: *.go
go build

go-daemon/god: go-daemon/god.c
make -C go-daemon

.PHONY: deps
deps:
go get

.PHONY: install
install: packetbeat go-daemon/god
install -D packetbeat $(DESTDIR)/$(BIN_PATH)/packetbeat
Expand Down

0 comments on commit fa0f7e5

Please sign in to comment.