diff --git a/tools/Makefile b/tools/Makefile index d598e87..c4b3802 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -20,7 +20,15 @@ LDLIBS = -L../../ben-wpan/tools/lib -latrf -lusb OBJS = antorcha.o hash.o +.PHONY: all update ping + all: $(MAIN) $(MAIN): $(OBJS) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS) + +update: + ./antorcha -F ../fw/antorcha.bin + +ping: + ./antorcha -P