d6d325516d88f40805af8eb05aa190e4b194d62e
[pintos-anon] / src / Makefile
1 SUBDIRS = threads userprog vm filesys
2
3 all::
4         @echo "Run 'make' in subdirectories $(SUBDIRS)."
5         @echo "This top-level make has only 'clean' targets."
6
7 clean::
8         for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
9
10 distclean::
11         $(MAKE) clean
12         find . -name '*~' -exec rm '{}' \;
13
14 TAGS::
15         etags --members `find . -name \*.[chS]`
16
17 tags::
18         ctags -T `find . -name \*.[chS]`
19