projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Swap names of power_off and do_power_off().
[pintos-anon]
/
src
/
Makefile
diff --git
a/src/Makefile
b/src/Makefile
index 72b234a1312739b7d8dafaf735409f6fde5e3012..90c36af421eaa8af9e1ba016920c02552dfcca4a 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-1,10
+1,18
@@
+SUBDIRS = threads userprog vm filesys
+
all::
all::
- @echo "Run 'make' in
the threads, userprog, filesys, or vm directory
."
+ @echo "Run 'make' in
subdirectories $(SUBDIRS)
."
@echo "This top-level make has only 'clean' targets."
clean::
@echo "This top-level make has only 'clean' targets."
clean::
- for d in
thread
s; do $(MAKE) -C $$d $@; done
+ for d in
$(SUBDIRS) test
s; do $(MAKE) -C $$d $@; done
-distclean::
- $(MAKE) clean
+distclean:: clean
find . -name '*~' -exec rm '{}' \;
find . -name '*~' -exec rm '{}' \;
+
+TAGS::
+ etags --members *.[chS] `find $(SUBDIRS) -name \*.[chS]`
+
+tags::
+ ctags -T *.[chS] `find . -name \*.[chS]`
+