summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9bbfafd2580288f38a401cfc400a26f28f52d3d1 (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:
	@$(MAKE) -C test

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