Skip to content

Commit

Permalink
Merge pull request #12 from Khhs167/example-add-makefile
Browse files Browse the repository at this point in the history
Added make things to the examples README, it was long overdue.
  • Loading branch information
Khhs167 committed Jun 13, 2023
2 parents ac10c58 + 8c8d2cc commit d139fec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ The build script allows you to use `./build.sh` to build, run, and clean a given
```sh
$ ./build.sh msnew
```
On top of this, there's also the Makefile, written for GNUmake, but it should hopefully work on other Make versions.
```sh
make <example-name> # Build the example
make <example-name>.run # Build and run the example
```

Each example has its own C file within the `memstack/example` folder.
There are also example that use the `global` memstack over a user created one.
Expand Down

0 comments on commit d139fec

Please sign in to comment.