diff options
author | Liam Merwick <liam.merwick@oracle.com> | 2018-12-19 11:19:32 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2018-12-19 12:19:31 +0100 |
commit | 29f013f76ea25f0384fb9602e508e09b3e445375 (patch) | |
tree | 0103e8ea52873d41653d8336c7d1bc8854d33c75 /Makefile | |
parent | 43b5bc4085da70469fdb1d0902bc4516304540d1 (diff) | |
download | qboot-29f013f76ea25f0384fb9602e508e09b3e445375.zip qboot-29f013f76ea25f0384fb9602e508e09b3e445375.tar.gz qboot-29f013f76ea25f0384fb9602e508e09b3e445375.tar.bz2 |
qboot: add cscope/ctags/TAGS Makefile targets (#16)
Signed-off-by: Liam Merwick <liam.merwick@oracle.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -35,4 +35,21 @@ bios.bin: bios.bin.elf clean: rm -f $(obj-y) $(all-y) bios.bin.elf + rm -f cscope.* tags TAGS rm -rf .deps + +.PHONY: cscope +cscope: + rm -f cscope.* + find . -name "*.[chsS]" -print | sed 's,^\./,,' > cscope.files + cscope -b -i cscope.files + +.PHONY: ctags +ctags: + rm -f tags + find . -name "*.[ch]" -exec ctags --append {} + + +.PHONY: TAGS +TAGS: + rm -f TAGS + find . -name "*.[ch]" -exec etags --append {} + |