3
0
corteza/provision/Makefile
2020-10-01 19:02:22 +02:00

17 lines
286 B
Makefile

.PHONY: clean
PARTS ?= compose messaging system
OUTPUTS ?= $(addsuffix /static.go, $(PARTS))
STATIK = $(GOPATH)/bin/statik
all: $(OUTPUTS)
%/static.go: $(STATIK)
$(STATIK) -p $(@D) -m -Z -f -src=$(@D)/src
clean:
rm -f $(OUTPUTS)
$(STATIK):
$(MAKE) --directory=../ $(STATIK)