mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2025-04-21 12:27:27 +03:00
tools/Makefile: add targets "clean" and "spotless"
This commit is contained in:
@@ -25,7 +25,7 @@ LDLIBS = -L../../ben-wpan/tools/lib -latrf \
|
|||||||
|
|
||||||
OBJS = antorcha.o hash.o $(if $(NOGFX),, plot.o)
|
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)
|
all: $(MAIN)
|
||||||
|
|
||||||
@@ -35,6 +35,12 @@ ben:
|
|||||||
$(MAIN): $(OBJS)
|
$(MAIN): $(OBJS)
|
||||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS)
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(OBJS)
|
||||||
|
|
||||||
|
spotless: clean
|
||||||
|
rm -f $(MAIN)
|
||||||
|
|
||||||
update:
|
update:
|
||||||
./antorcha -F ../fw/antorcha.bin
|
./antorcha -F ../fw/antorcha.bin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user