Makefile: add $(tools) var

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
Jeremy Kerr 2012-05-12 09:48:51 -07:00
parent 902cb928b6
commit 7c256bc407

View file

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