summaryrefslogtreecommitdiff
path: root/Makefile
blob: a80916b4e947afb3df82b8b6e1eaf81dca0aeb77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SUBDIRS := cmd/tunnel cmd/tunneld
TARGETS := build clean install

.PHONY: default
default: build

$(TARGETS): $(SUBDIRS)
$(SUBDIRS):
	@$(MAKE) -C $@ $(MAKECMDGOALS)

fmt:
	go fmt tunnel/...

test:
	go test tunnel/pkg/test

.PHONY: $(TARGETS) $(SUBDIRS) test