correcting text

This commit is contained in:
iceman1001 2022-03-20 09:54:39 +01:00
commit b73c59dc1e
3 changed files with 18 additions and 43 deletions

View file

@ -5,54 +5,23 @@
# Table of Contents
- [Mac OS X - Compilation from source instructions](x#mac-os-x---compilation-from-source-instructions)
- [Table of Contents](#table-of-contents)
- [Installing build prerequisites via Homebrew](#installing-build-prerequisites-via-homebrew)
- [Configure the build](#configure-the-build)
- [Compilation from source](#compilation-from-source)
- [Follow Homebrew developer instructions](#follow-homebrew-developer-instructions)
- [(optional) Running without sudo](#optional-running-without-sudo)
## Installing build prerequisites via Homebrew
## Follow Homebrew developer instructions
^[Top](#top)
We need to install the ``openssl`` library with ``brew``:
```bash
brew install openssl
```
To run the local install script below, we also require the GNU versions
of several core Unix utilities:
```bash
brew install coreutils
```
Follow the instructions here [developer instructions](doc/md/Installation_Instructions/Mac-OS-X-Homebrew-Installation-Instructions.md#homebrew-mac-os-x-developer-installation) and you are done.
## Configure the build
## (optional) Running without sudo
^[Top](#top)
Clone the repository by running the following:
```bash
git clone https://github.com/RfidResearchGroup/proxmark3.git
cd proxmark3
```
Configure the build by editing ``Makefile.platform``
(this step is optional -- the default will suffice):
```bash
cp Makefile.platform.sample Makefile.platform
vim Makefile.platform
```
This section is an *optional* installation procedure.
## Compilation from source
^[Top](#top)
The following command has been shown to work on MacOS Big Sur with the
default Compiler Tools that comes installed on this release of the platform:
```bash
make clean && CFLAGS="-I /usr/local/opt/openssl/include" make -j
```
The rest of this section is an *optional* installation procedure.
If you have ``sudo`` rights, you can install the proxmark3 utilities into the system
path by running
```bash
sudo make install
```
Otherwise, assuming you are using the ``bash`` shell (using ``chsh -s /bin/bash `whoami```), we can create
Assuming you are using the ``bash`` shell (using ``chsh -s /bin/bash `whoami```), we can create
an alias to the relevant commands:
```bash
export BASHRC="~/.bash_profile"