Making the compiler report its subcommands

This commit is contained in:
Dan Buch 2012-08-25 22:16:46 -04:00
parent 13201cbfea
commit 892960c712

View File

@ -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)