makefiles: do not uselessly use --global
authorJean Privat <jean@pryen.org>
Fri, 7 Nov 2014 18:25:32 +0000 (13:25 -0500)
committerJean Privat <jean@pryen.org>
Mon, 10 Nov 2014 00:55:53 +0000 (19:55 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

contrib/pep8analysis/Makefile
examples/pnacl/converter/Makefile
examples/pnacl/converter/README

index 6829411..c2f2669 100644 (file)
@@ -1,6 +1,6 @@
 bin/pep8analysis:
        mkdir -p bin
-       ../../bin/nitg --global -o bin/pep8analysis src/pep8analysis.nit
+       ../../bin/nitg -o bin/pep8analysis src/pep8analysis.nit
 
 doc/index.html:
        ../../bin/nitdoc src/pep8analysis.nit
index 06318b6..aee71e8 100644 (file)
@@ -1,5 +1,5 @@
 default: 
-       ../../../bin/nitg --global converter.nit
+       ../../../bin/nitg --semi-global converter.nit
 
 HTTPD_PY := python $(NACL_SDK_ROOT)/tools/httpd.py
 serve:
index 220bc8d..fa70fff 100644 (file)
@@ -5,9 +5,9 @@ Steps to make the example work :
 2. Declare the environment variable NACL_SDK_ROOT as the root of the target platform within the SDK (ex: ~/nacl_sdk/pepper_34/) :
        $ export NACL_SDK_ROOT=/path/to/nacl_sdk/pepper_[your_version]
 
-3. Compile the Nit code with: `nitg --global converter.nit` or `make`.
+3. Compile the Nit code with: `nitg --semi-global converter.nit` or `make`.
 
-You must use the '--global' option. Some features in the standard library are not supported by the NaCL platform, the global compiler do not try to compile them.
+You must use the '--semi-global' (or `--global`) option. Some features in the standard library are not supported by the NaCL platform, the global compiler do not try to compile them.
 
 4. Start a local server using: `make serve`.