nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/pnacl: add server option to Makefile
[nit.git]
/
examples
/
pnacl
/
converter
/
Makefile
diff --git
a/examples/pnacl/converter/Makefile
b/examples/pnacl/converter/Makefile
index
7f7a22f
..
06318b6
100644
(file)
--- a/
examples/pnacl/converter/Makefile
+++ b/
examples/pnacl/converter/Makefile
@@
-1,2
+1,8
@@
default:
../../../bin/nitg --global converter.nit
+
+HTTPD_PY := python $(NACL_SDK_ROOT)/tools/httpd.py
+serve:
+ $(HTTPD_PY) -C . --no-dir-check
+
+.PHONY: serve