From e6f714a696c61a48bc249eafb4bb55bd8ca38983 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 21 Aug 2021 08:59:57 +0300 Subject: individual makefile targets for each command --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6d85347..2aa5674 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,19 @@ GO ?= go all: test build -build: +build: dserver dcat dgrep dmap dtail +dserver: ifndef USE_ACL ${GO} build -o dserver ./cmd/dserver/main.go else ${GO} build -tags linuxacl -o dserver ./cmd/dserver/main.go endif +dcat: ${GO} build -o dcat ./cmd/dcat/main.go +dgrep: ${GO} build -o dgrep ./cmd/dgrep/main.go +dmap: ${GO} build -o dmap ./cmd/dmap/main.go +dtail: ${GO} build -o dtail ./cmd/dtail/main.go install: ifndef USE_ACL -- cgit v1.2.3