projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revise.
[pintos-anon]
/
src
/
Makefile
diff --git
a/src/Makefile
b/src/Makefile
index 9242a7a1ce6757bb9dffc202389c3551c2da00a3..c781a028d9b97b89e2bd178b7f66b5d7c219e17f 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-1,12
+1,20
@@
-SUBDIRS = threads filesys
+SUBDIRS = threads
userprog vm
filesys
all::
@echo "Run 'make' in subdirectories $(SUBDIRS)."
@echo "This top-level make has only 'clean' targets."
clean::
all::
@echo "Run 'make' in subdirectories $(SUBDIRS)."
@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
-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)
+