mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Allow per-user local customizations of makefile
Allow users to customize their makefiles by adding custom targets/variables without checking them in.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -60,6 +60,7 @@ nomad_linux_amd64
|
||||
nomad_darwin_amd64
|
||||
TODO.md
|
||||
codecgen-*.generated.go
|
||||
GNUMakefile.local
|
||||
|
||||
.terraform
|
||||
*.tfstate*
|
||||
|
||||
@@ -51,6 +51,9 @@ ifeq (FreeBSD,$(THIS_OS))
|
||||
ALL_TARGETS += freebsd_amd64
|
||||
endif
|
||||
|
||||
# include per-user customization after all variables are defined
|
||||
-include GNUMakefile.local
|
||||
|
||||
pkg/darwin_amd64/nomad: $(SOURCE_FILES) ## Build Nomad for darwin/amd64
|
||||
@echo "==> Building $@ with tags $(GO_TAGS)..."
|
||||
@CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 \
|
||||
|
||||
Reference in New Issue
Block a user