summaryrefslogtreecommitdiff
path: root/Makefile
blob: b3592e3b09459012e6da3785781358959554d60e (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

.PHONY: default
default: build

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

fmt:
	go fmt tunnel/...

test:
	@$(MAKE) -C test

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