-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 730 Bytes
/
Makefile
File metadata and controls
29 lines (21 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# There's probably a better way of doing this (apart from automake),
# would anyone care to enlighten me?
# Note this is the build order, and reflects inter-subdir
# dependencies.
SUBDIRS=kernel jutil src tools
.PHONY: build clean test $(SUBDIRS)
DOSUBDIRS=for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@ || { exit 1; }; \
done
build: $(SUBDIRS)
$(DOSUBDIRS)
clean: $(SUBDIRS)
$(DOSUBDIRS)
test: build
make -C src test
# Asciidoc is fairly human-readable, but you can
# use asciidoc to convert the plain-text source docs
# into HTML. This has been tested on asciidoc-8.4.5.
docs: doc.asciidoc FAQ.asciidoc screenshot-processes.png screenshot-files.png
asciidoc -b html4 doc.asciidoc
asciidoc -b html4 FAQ.asciidoc