aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-11-24 11:31:11 +0200
committerLoïc Hoguin <[email protected]>2014-11-24 11:31:11 +0200
commita8c1d640f8cffd7873ce0355e786c20dfff0624e (patch)
treeef8abb34225e44145a35ef583c79087e2bf111e0
parent4b2f8ba5561d34532b3a268d21b268e0a9717e0d (diff)
downloaderlang.mk-a8c1d640f8cffd7873ce0355e786c20dfff0624e.tar.gz
erlang.mk-a8c1d640f8cffd7873ce0355e786c20dfff0624e.tar.bz2
erlang.mk-a8c1d640f8cffd7873ce0355e786c20dfff0624e.zip
Update README for C/C++ compiler
-rw-r--r--README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index 4728008..785910e 100644
--- a/README.md
+++ b/README.md
@@ -257,12 +257,12 @@ templates.
`list-templates` lists the available templates.
-C compiler plugin
------------------
+C/C++ compiler plugin
+---------------------
This plugin is available by default. It is meant to
-simplify the management of projects that include C source
-code, like NIFs.
+simplify the management of projects that include C
+and/or C++ source code, like NIFs for example.
If the file `$(C_SRC_DIR)/Makefile` exists, then the plugin
simply calls it when needed. Otherwise it tries to compile
@@ -278,7 +278,9 @@ You can override the temporary file containing information
about Erlang's environment by setting the `C_SRC_ENV` variable.
This file is automatically generated on first run.
-You can also override the defaults `CC` and `CFLAGS` if required.
+The `CC`, `CFLAGS`, `CXXFLAGS`, `LDLIBS` and `LDFLAGS` variables
+may be modified or replaced with any value of your choosing.
+The defaults are system dependent.
Common_test plugin
------------------