diff --git a/Makefile b/Makefile index 54f192b..0a113f7 100644 --- a/Makefile +++ b/Makefile @@ -18,13 +18,15 @@ $(KODIR)/a.out: $(DOSK) kas .PHONY: clean clean: - @cd vm && make clean --no-print-directory - @rm -f $(KODIR)/a.out $(KODIR)/a.out.sym $(KODIR)/k.exe as/instrs.lst + @cd vm && make clean --no-print-directory -s verbose=no + @rm -f $(KODIR)/a.out $(KODIR)/a.sym $(KODIR)/k.exe as/instrs.lst test: $(KODIR)/a.out @vm/k.exe $(KODIR)/a.out $(KODIR)/a.sym @rm -f $(KODIR)/a.out $(KODIR)/a.sym wc: clean - @cat $(shell find -name *.[kch]) $(shell find -name *.py) | wc -l + @cat $(shell find -type f -name '*' ! -path './.git/*' | egrep '(ka|vm)/*') | wc -l +find: + @find -type f -name '*' ! -path './.git/*' | egrep '(ka|vm)/*'