mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
wc
This commit is contained in:
parent
98190d32fb
commit
97e52b65bb
8
Makefile
8
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)/*'
|
||||
|
Loading…
Reference in New Issue
Block a user