Making the compiler report its subcommands
This commit is contained in:
parent
13201cbfea
commit
892960c712
@ -2,7 +2,7 @@ SOURCES := $(shell find src -name '*.go')
|
|||||||
TARGETS := $(patsubst src/%.go,bin/%,$(SOURCES))
|
TARGETS := $(patsubst src/%.go,bin/%,$(SOURCES))
|
||||||
|
|
||||||
bin/%: src/%.go
|
bin/%: src/%.go
|
||||||
go build -o $@ $^
|
go build -x -o $@ $^
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user