diff options
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -73,7 +73,7 @@ all = lib ${rt-apps} | |||
73 | rt-apps = cycles base_task rt_launch rtspin release_ts measure_syscall \ | 73 | rt-apps = cycles base_task rt_launch rtspin release_ts measure_syscall \ |
74 | base_mt_task runtests | 74 | base_mt_task runtests |
75 | 75 | ||
76 | .PHONY: all lib clean dump-config | 76 | .PHONY: all lib clean dump-config TAGS tags |
77 | 77 | ||
78 | all: ${all} inc/config.makefile | 78 | all: ${all} inc/config.makefile |
79 | 79 | ||
@@ -116,6 +116,17 @@ clean: | |||
116 | rm -f *.o *.d *.a test_catalog.inc | 116 | rm -f *.o *.d *.a test_catalog.inc |
117 | rm -f ${imported-headers} | 117 | rm -f ${imported-headers} |
118 | rm -f inc/config.makefile | 118 | rm -f inc/config.makefile |
119 | rm -f tags TAGS | ||
120 | |||
121 | # Emacs Tags | ||
122 | TAGS: | ||
123 | @echo TAGS | ||
124 | @find . -type f -and -iname '*.[ch]' | xargs etags | ||
125 | |||
126 | # Vim Tags | ||
127 | tags: | ||
128 | @echo tags | ||
129 | @find . -type f -and -iname '*.[ch]' | xargs ctags | ||
119 | 130 | ||
120 | # ############################################################################## | 131 | # ############################################################################## |
121 | # Kernel headers. | 132 | # Kernel headers. |