diff options
| author | manuel <manuel@mausz.at> | 2012-03-26 12:54:45 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-03-26 12:54:45 +0200 |
| commit | b5f0874cd96ee2a62aabc645b9626c2749cb6a01 (patch) | |
| tree | 1262e4bbe0634de6650be130c36e0538240f4cbf /pintos-progos/Makefile | |
| download | progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.gz progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.bz2 progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.zip | |
initial pintos checkin
Diffstat (limited to 'pintos-progos/Makefile')
| -rw-r--r-- | pintos-progos/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pintos-progos/Makefile b/pintos-progos/Makefile new file mode 100644 index 0000000..3ba9194 --- /dev/null +++ b/pintos-progos/Makefile | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | BUILD_SUBDIRS = threads userprog vm filesys intro | ||
| 2 | |||
| 3 | all:: | ||
| 4 | @echo "Run 'make' in subdirectories: $(BUILD_SUBDIRS)." | ||
| 5 | @echo "This top-level make has only 'clean' targets." | ||
| 6 | |||
| 7 | CLEAN_SUBDIRS = $(BUILD_SUBDIRS) examples utils | ||
| 8 | |||
| 9 | clean:: | ||
| 10 | for d in $(CLEAN_SUBDIRS); do $(MAKE) -C $$d $@; done | ||
| 11 | rm -f TAGS tags | ||
| 12 | |||
| 13 | distclean:: clean | ||
| 14 | find . -name '*~' -exec rm '{}' \; | ||
| 15 | |||
| 16 | TAGS_SUBDIRS = $(BUILD_SUBDIRS) devices lib | ||
| 17 | TAGS_SOURCES = find $(TAGS_SUBDIRS) -name \*.[chS] -print | ||
| 18 | |||
| 19 | TAGS:: | ||
| 20 | etags --members `$(TAGS_SOURCES)` | ||
| 21 | |||
| 22 | tags:: | ||
| 23 | ctags -T --no-warn `$(TAGS_SOURCES)` | ||
| 24 | |||
| 25 | cscope.files:: | ||
| 26 | $(TAGS_SOURCES) > cscope.files | ||
| 27 | |||
| 28 | cscope:: cscope.files | ||
| 29 | cscope -b -q -k | ||
