projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Irq 7 is special. It is not just the parallel port. It can also be a
[pintos-anon]
/
src
/
Makefile
diff --git
a/src/Makefile
b/src/Makefile
index c781a028d9b97b89e2bd178b7f66b5d7c219e17f..ee58cc33149c6ce8e6d513feb63c5c9feff20b56 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-1,16
+1,20
@@
-SUBDIRS = threads userprog vm filesys
+
BUILD_
SUBDIRS = threads userprog vm filesys
all::
all::
- @echo "Run 'make' in subdirectories
$(
SUBDIRS)."
+ @echo "Run 'make' in subdirectories
: $(BUILD_
SUBDIRS)."
@echo "This top-level make has only 'clean' targets."
@echo "This top-level make has only 'clean' targets."
+CLEAN_SUBDIRS = $(BUILD_SUBDIRS) examples utils
+
clean::
clean::
- for d in $(SUBDIRS) tests; do $(MAKE) -C $$d $@; done
+ for d in $(CLEAN_SUBDIRS); do $(MAKE) -C $$d $@; done
+ rm -f TAGS tags
distclean:: clean
find . -name '*~' -exec rm '{}' \;
distclean:: clean
find . -name '*~' -exec rm '{}' \;
-TAGS_SOURCES = `find \( -name tests -o -name build \) -prune -o -name \*.[chS] -print`
+TAGS_SUBDIRS = $(BUILD_SUBDIRS) devices lib
+TAGS_SOURCES = `find $(TAGS_SUBDIRS) -name \*.[chS] -print`
TAGS::
etags --members $(TAGS_SOURCES)
TAGS::
etags --members $(TAGS_SOURCES)