Skip to content
Snippets Groups Projects
Commit 46d62377 authored by Meredith L. Patterson's avatar Meredith L. Patterson
Browse files

Update README.md with install target instructions

parent 4361c16c
No related branches found
No related tags found
No related merge requests found
...@@ -42,10 +42,9 @@ To build, type `scons`. To run the built-in test suite, type `scons test`. For a ...@@ -42,10 +42,9 @@ To build, type `scons`. To run the built-in test suite, type `scons test`. For a
If jni.h and jni_md.h aren't already somewhere on your include path, prepend If jni.h and jni_md.h aren't already somewhere on your include path, prepend
`C_INCLUDE_PATH=/path/to/jdk/include` to that. `C_INCLUDE_PATH=/path/to/jdk/include` to that.
There is currently no `install` target; to make Hammer available system-wide, To make Hammer available system-wide, use `scons install`. This places include files in `/usr/local/include/hammer`
copy `libhammer.a` and `libhammer.so` from `build/opt/src` to `/usr/lib/` (or and library files in `/usr/local/lib` by default; to install elsewhere, add a `prefix=<destination>` argument, e.g.
`/usr/local/lib/`, or wherever ld will find it) and `hammer.h` to `scons install prefix=$HOME`.
`/usr/include/`.
Usage Usage
===== =====
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment