Skip to content

Commit

Permalink
Merge pull request #1259 from jdbruijn/doc/macos-compiling
Browse files Browse the repository at this point in the history
[doc] Added `make install` to the macOS compiling instructions.
  • Loading branch information
Nightwalker-87 committed Aug 26, 2022
2 parents 8f4e570 + 87b2121 commit d66c0cd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ or execute (Debian-based systems only): `apt-get install gcc build-essential cma
1. Change into the project source directory: `cd stlink`
2. Run `make clean` -- required by some linux variants.
3. Run `make release` to create the _Release_ target
4. Run `make install` to full install the package with complete system integration
4. Run `make install` to full install the package with complete system integration. This might require sudo permissions.
5. Run `make debug` to create the _Debug_ target (_optional_)<br />
The debug target is only necessary in order to modify the sources and to run under a debugger.
6. Run `make package`to build a Debian Package. The generated packages can be found in the subdirectory `./build/dist`.
Expand Down Expand Up @@ -215,9 +215,12 @@ To do this with only one simple command, type:
1. Change into the project source directory: `cd stlink`
2. Run `make clean` to clean remnants of any previous builds.
3. Run `make release` to create the _Release_ target
4. Run `make debug` to create the _Debug_ target (_optional_)<br />
4. Run `make install` to full install the package with complete system integration. This might require sudo permissions.
5. Run `make debug` to create the _Debug_ target (_optional_)<br />
The debug target is only necessary in order to modify the sources and to run under a debugger.

As an option you may also install to an individual user-defined folder e.g `$HOME` with `make install DESTDIR=$HOME`.

## Build options

### Build using a different directory for shared libs
Expand Down

0 comments on commit d66c0cd

Please sign in to comment.