mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-11-25 17:43:44 +02:00
tools/Makefile: add targets "clean" and "spotless"
This commit is contained in:
parent
28a3689672
commit
f9e253963b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user