summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/spd_tools/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/spd_tools/Makefile b/util/spd_tools/Makefile
index d8806724fa3f..3aad91c976b9 100644
--- a/util/spd_tools/Makefile
+++ b/util/spd_tools/Makefile
@@ -3,11 +3,11 @@ PART_ID_GEN = bin/part_id_gen
all: $(SPD_GEN) $(PART_ID_GEN)
-$(SPD_GEN):
- go build -o $(SPD_GEN) src/spd_gen/*.go
+$(SPD_GEN): src/spd_gen/*.go
+ go build -o $@ $^
-$(PART_ID_GEN):
- go build -o $(PART_ID_GEN) src/part_id_gen/*.go
+$(PART_ID_GEN): src/part_id_gen/*.go
+ go build -o $@ $^
clean:
rm -rf bin/