diff options
author | Loïc Hoguin <[email protected]> | 2014-11-24 11:31:11 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-11-24 11:31:11 +0200 |
commit | a8c1d640f8cffd7873ce0355e786c20dfff0624e (patch) | |
tree | ef8abb34225e44145a35ef583c79087e2bf111e0 | |
parent | 4b2f8ba5561d34532b3a268d21b268e0a9717e0d (diff) | |
download | erlang.mk-a8c1d640f8cffd7873ce0355e786c20dfff0624e.tar.gz erlang.mk-a8c1d640f8cffd7873ce0355e786c20dfff0624e.tar.bz2 erlang.mk-a8c1d640f8cffd7873ce0355e786c20dfff0624e.zip |
Update README for C/C++ compiler
-rw-r--r-- | README.md | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 ------------------ |