mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 04:45:15 +00:00
Load config.mk in Makefile
This commit is contained in:
parent
7006e13ca9
commit
cf33b01582
1
cmd/khepri/.gitignore
vendored
Normal file
1
cmd/khepri/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
config.mk
|
@ -6,12 +6,15 @@ TAGS =
|
|||||||
|
|
||||||
.PHONY: all clean debug
|
.PHONY: all clean debug
|
||||||
|
|
||||||
|
# include config file if it exists
|
||||||
|
-include $(CURDIR)/config.mk
|
||||||
|
|
||||||
all: khepri
|
all: khepri
|
||||||
|
|
||||||
khepri: *.go $(wildcard ../../*.go) $(wildcard ../../*/*.go)
|
khepri: *.go $(wildcard ../../*.go) $(wildcard ../../*/*.go)
|
||||||
go build $(TAGS) -ldflags "$(LDFLAGS)"
|
go build $(TAGS) -ldflags "$(LDFLAGS)"
|
||||||
|
|
||||||
debug: TAGS=-tags debug
|
debug: TAGS=-tags debug_cmd
|
||||||
debug: khepri
|
debug: khepri
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user