Age | Commit message (Collapse) | Author |
|
Previously we only did shared libraries, now we allow executables.
Also improve greatly the handling of autopatched rebar projects
by relying once again on the rebar_utils module.
|
|
|
|
|
|
|
|
* This patch ensures building the NIF code under`c_src`
even on running `make tests`
* When `c_src/Makefile` exists:
* Split the Makefile invocation dependency into `app-c_src`
* Invoke `app-c_src` also in `test-build` as well as `app`
* When `c_src/Makefile` does not exist:
* Add `$(C_SRC_ENV) $(C_SRC_OUTPUT)` dependencies to `test-build`
|
|
|
|
Also added a copyright line in the eunit plugin due to the
extensive work I have done there a few days ago.
|
|
Use "+A0 -noinput -boot start_clean" as start argument.
Use halt/{1,2} to shutdown the VM faster.
|
|
* Add the following flags to LDFLAGS needed at linkage for OS X,
and remove the following flags from CFLAGS and CPPFLAGS:
`-arch x86_64 -flat_namespace -undefined suppress`
|
|
* The `-regex` option of `find` command to determine `SOURCES` in
plugins/c_src.mk` is not portable; does not work on OS X.
Rewrite with a portable form of using `find` native `-name`
command option with `\(`, `-o`, and `\)`.
* Support file extentions of `*.c`, `*.C`, `*.cc`, and `*.cpp`.
|
|
We can just LDFLAGS += and whatnot.
|
|
Add compile .cc,.cpp,.C files as C++.
Compile each source file to .o.
Link all .o object to .so.
Delete .o on clean target.
|
|
Because env.mk creates a considerable time, then delete it less often.
|
|
|
|
|
|
Using LDFLAGS, LDLIBS for link
|
|
* erlang:halt/0 is much faster than init:stop/0 to terminate
execution (no wait time)
|
|
|
|
|
|
|