projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix line wrapping.
[pintos-anon]
/
src
/
Makefile
diff --git
a/src/Makefile
b/src/Makefile
index c47ac1297a07de2e78de38bd0112d92d19965acd..326e774ae0347fae11dd941a403fc1b80b977555 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-5,8
+5,17
@@
all::
@echo "This top-level make has only 'clean' targets."
clean::
@echo "This top-level make has only 'clean' targets."
clean::
- for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
+ for d in $(SUBDIRS) tests; do $(MAKE) -C $$d $@; done
+ rm -f TAGS tags
-distclean::
- $(MAKE) clean
+distclean:: clean
find . -name '*~' -exec rm '{}' \;
find . -name '*~' -exec rm '{}' \;
+
+TAGS_SOURCES = `find \( -name tests -o -name build \) -prune -o -name \*.[chS] -print`
+
+TAGS::
+ etags --members $(TAGS_SOURCES)
+
+tags::
+ ctags -T --no-warn $(TAGS_SOURCES)
+