- add localsettings.texi which contains Stanford-local macros and variables
[pintos.git] / src / Makefile
blob229f85d1dcc3deb707c897033bc0327f10eddc4d
1 BUILD_SUBDIRS = threads userprog vm filesys
3 all::
4 @echo "Run 'make' in subdirectories: $(BUILD_SUBDIRS)."
5 @echo "This top-level make has only 'clean' targets."
7 CLEAN_SUBDIRS = $(BUILD_SUBDIRS) examples utils
9 clean::
10 for d in $(CLEAN_SUBDIRS); do $(MAKE) -C $$d $@; done
11 rm -f TAGS tags
13 distclean:: clean
14 find . -name '*~' -exec rm '{}' \;
16 TAGS_SUBDIRS = $(BUILD_SUBDIRS) devices lib
17 TAGS_SOURCES = find $(TAGS_SUBDIRS) -name \*.[chS] -print
19 TAGS::
20 etags --members `$(TAGS_SOURCES)`
22 tags::
23 ctags -T --no-warn `$(TAGS_SOURCES)`
25 cscope.files::
26 $(TAGS_SOURCES) > cscope.files
28 cscope:: cscope.files
29 cscope -b -q -k