From 7c256bc4077e56bc0bcb8199748ccab6c3bd25c7 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Sat, 12 May 2012 09:48:51 -0700 Subject: [PATCH] Makefile: add $(tools) var Signed-off-by: Jeremy Kerr --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2c874a4..48403e8 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,9 @@ libs = -lbfd -lcrypto ccan_objs = lib/ccan/libccan.a ccan_includes = -I./lib/ccan -all: sbsign sbverify +tools = sbsign sbverify + +all: $(tools) sbsign: $(sbsign_objs) $(ccan_objs) $(LINK.o) -o $@ $^ $(libs) @@ -27,5 +29,5 @@ $(ccan_objs): cd $(@D) && $(MAKE) clean: - rm -f sbsign + rm -f $(tools) rm -f *.o