examples/pnacl: add server option to Makefile
authorAlexis Laferrière <alexis.laf@xymus.net>
Fri, 2 May 2014 21:47:44 +0000 (17:47 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 20 May 2014 18:16:32 +0000 (14:16 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

examples/pnacl/converter/Makefile

index 7f7a22f..06318b6 100644 (file)
@@ -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