summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-08-21 08:59:57 +0300
committerPaul Buetow <paul@buetow.org>2021-08-21 08:59:57 +0300
commitd48f344cf1a6e0b479629d7a96c1402b1733106e (patch)
tree70d52df34828e6e58c4c05f7aa28046ae87f0454 /Makefile
parent3cc8887885f24a3f0d607af24197bc364ab16b8d (diff)
individual makefile targets for each command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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