Skip to content

Commit

Permalink
link math.h when its needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Jan 6, 2025
1 parent 8b6f6f8 commit 6579e56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ int main() {
```
```sh
linux : gcc main.c -lX11 -lGL -lXrandr -lm
windows : gcc main.c -lopengl32 -lshell32 -lgdi32 -lwinmm -lm
macos : gcc main.c -framework Foundation -framework AppKit -framework OpenGL -framework IOKit -lm
linux : gcc main.c -lX11 -lGL -lXrandr
windows : gcc main.c -lopengl32 -lshell32 -lgdi32 -lwinmm
macos : gcc main.c -framework Foundation -framework AppKit -framework OpenGL -framework IOKit
```

## other examples
Expand Down

0 comments on commit 6579e56

Please sign in to comment.