tREADME.md: add instructions on build versions - granular - granular dynamics s… | |
git clone git://src.adamsgaard.dk/granular | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 50bfdd9a9cab50af07ee70e3f62de9fb3656aa4a | |
parent 4a19dc89eaa19b3f3b61c14805371cbbdf9f35ac | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 25 Mar 2021 18:31:34 +0100 | |
README.md: add instructions on build versions | |
Diffstat: | |
M README.md | 11 +++++++++++ | |
1 file changed, 11 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/README.md b/README.md | |
t@@ -3,5 +3,16 @@ | |
Simulate granular mechanics with minimal external dependencies, respecting | |
unix principles. | |
+## Building and installing | |
+ | |
+To build a fast version for performance, compile with the following | |
+command: | |
+ | |
+ $ make CFLAGS="-O3" | |
+ | |
+To build with debug symbols for development, compile with the command: | |
+ | |
+ $ make CFLAGS="-Wall -Wextra -pedantic -g" | |
+ | |
## Author | |
Anders Damsgaard https://adamsgaard.dk |