Don't try to build cooja from inside test makefiles

This commit is contained in:
George Oikonomou 2018-10-21 20:32:32 +01:00
parent 7427a861a3
commit 81d6218ebc

View File

@ -5,18 +5,14 @@ CONTIKI=../..
all: clean summary
summary: cooja $(TESTLOGS)
summary: $(TESTLOGS)
@cat *.testlog > summary
@echo "========== Summary =========="
@cat summary
%.testlog: %.sh cooja
%.testlog: %.sh
@echo "========== Running script test $(basename $@).sh =========="
@bash "$(basename $@).sh" "$(CONTIKI)"
clean:
@rm -f *.*log report summary
cooja: $(CONTIKI)/tools/cooja/dist/cooja.jar
$(CONTIKI)/tools/cooja/dist/cooja.jar:
(cd $(CONTIKI)/tools/cooja; ant jar)