examples/pnacl: add server option to Makefile
[nit.git] / 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