diff --git a/nemu/Makefile b/nemu/Makefile index 9c8af23..2304f99 100644 --- a/nemu/Makefile +++ b/nemu/Makefile @@ -76,14 +76,14 @@ COLOR_GREEN = \033[1;32m COLOR_NONE = \033[0m RESULT = .result -$(shell > .result) # Clear result file +$(shell > $(RESULT)) # Clear result file $(IMAGES): %: %.bin $(BINARY) @$(BINARY) -b $< > /dev/null || printf "[%14s] $(COLOR_RED)FAIL$(COLOR_NONE)\n" $(notdir $<) >> .result integration-tests: $(IMAGES) @cat $(RESULT) - @cat $(shell wc -l $(RESULT)) + @echo $(shell wc -l $(RESULT)) @$(RM) $(RESULT) test: unit-tests integration-tests