Makefile:: add tags options; vmm.[ch] fix bug in find_vma Function, and update check_vma_struct Funciton from lab3-lab8
This commit is contained in:
@@ -233,9 +233,9 @@ touch:
|
||||
print-%:
|
||||
@echo $($(shell echo $(patsubst print-%,%,$@) | $(TR) [a-z] [A-Z]))
|
||||
|
||||
.PHONY: clean dist-clean handin packall
|
||||
.PHONY: clean dist-clean handin packall tags
|
||||
clean:
|
||||
$(V)$(RM) $(GRADE_GDB_IN) $(GRADE_QEMU_OUT)
|
||||
$(V)$(RM) $(GRADE_GDB_IN) $(GRADE_QEMU_OUT) cscope* tags
|
||||
-$(RM) -r $(OBJDIR) $(BINDIR)
|
||||
|
||||
dist-clean: clean
|
||||
@@ -248,3 +248,9 @@ packall: clean
|
||||
@$(RM) -f $(HANDIN)
|
||||
@tar -czf $(HANDIN) `find . -type f -o -type d | grep -v '^\.*$$' | grep -vF '$(HANDIN)'`
|
||||
|
||||
tags:
|
||||
@echo TAGS ALL
|
||||
$(V)rm -f cscope.files cscope.in.out cscope.out cscope.po.out tags
|
||||
$(V)find . -type f -name "*.[chS]" >cscope.files
|
||||
$(V)cscope -bq
|
||||
$(V)ctags -L cscope.files
|
||||
|
||||
Reference in New Issue
Block a user