1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-01 05:38:06 +02:00

tools/Makefile: add targets "clean" and "spotless"

This commit is contained in:
Werner Almesberger 2012-06-29 15:30:24 -03:00
parent 28a3689672
commit f9e253963b

View File

@ -25,7 +25,7 @@ LDLIBS = -L../../ben-wpan/tools/lib -latrf \
OBJS = antorcha.o hash.o $(if $(NOGFX),, plot.o)
.PHONY: all ben update ping off
.PHONY: all ben clean spotless update ping off
all: $(MAIN)
@ -35,6 +35,12 @@ ben:
$(MAIN): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS)
clean:
rm -f $(OBJS)
spotless: clean
rm -f $(MAIN)
update:
./antorcha -F ../fw/antorcha.bin