nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0b9c9
)
Makefile: add recipe `full` to build examples and programs.
author
Jean Privat
<jean@pryen.org>
Tue, 26 Aug 2014 17:14:39 +0000
(13:14 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 27 Aug 2014 01:25:23 +0000
(21:25 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
ef24ecb
..
bc06e15
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-16,8
+16,15
@@
NITCOPT=
+# Additional program directories (contrib and examples) that are buildable
+PROGS=$(dir $(wildcard examples/*/Makefile contrib/*/Makefile))
+
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: