nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: add recipe `full` to build examples and programs.
[nit.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
ef24ecb
..
bc06e15
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-16,8
+16,15
@@
NITCOPT=
NITCOPT=
+# Additional program directories (contrib and examples) that are buildable
+PROGS=$(dir $(wildcard examples/*/Makefile contrib/*/Makefile))
+
all: tools
all: tools
+# Compile all programs in $PROGS
+full: all
+ for m in $(PROGS); do $(MAKE) -C "$$m" || exit 1; done
+
docs: doc/stdlib/index.html doc/nitc/index.html
tools:
docs: doc/stdlib/index.html doc/nitc/index.html
tools: