Author: Doug Hellmann <doug@doughellmann.com>
makefile: add dependency for binary on include files Ensure that when a template file is changed the binary is rebuilt. Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Makefile | 2 +-
diff --git a/Makefile b/Makefile index e4628a1e7387410d5e1b3f9bd9cca7d61ccdca3e..a8972fe23e1bed2e4553aae8742b4e104e133c9e 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ export CGO_ENABLED=0 all: smithy smithy.yml -smithy: bin/statik +smithy: bin/statik include/*.html bin/statik -src=include -dest=pkg -f -m go build -ldflags $(LDFLAGS) -o smithy main.go