Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
assignment_2023
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benedict Gaster
assignment_2023
Commits
a85e8e9e
Commit
a85e8e9e
authored
2 years ago
by
Benedict Gaster
Browse files
Options
Downloads
Patches
Plain Diff
updated readme for brew use
parent
5d2fdc14
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+24
-1
24 additions, 1 deletion
README.md
with
24 additions
and
1 deletion
README.md
+
24
−
1
View file @
a85e8e9e
...
...
@@ -127,18 +127,41 @@ To run an example or the assigment, simply run the command, e.g. **./shapes.exe*
in the same directory. (Note: it is important that you run the executables in the
**window_build** directory.)
## OS X
## OS X
> Note: ARM based Macs (M1 or M2)
>
> You will need to install a small amount of software. First install ```brew`` from:
>
> - [https://brew.sh/](https://brew.sh/)
>
> The you can use ```brew``` to install the missing packages:
>
> ```bash
> brew install sdl2
> brew install sdl2_image
> brew install sdl2_ttf
> brew install freetype
> ```
To make it slightly easier to build both the examples and the assigment itself a Makefile is provided:
- **Makefile**
> For ARM macs it will be Makefile_brew
To build and examples and assignment simple type
```
bash
make
```
> For ARM macs it is:
>
> ```bash
> make -f Makefile_brew
> ```
in the root directory. This will build the resulting
executables in the directory **build**. **build** will
contain the example executables:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment