tREADME.md: add instructions on build versions - granular - granular dynamics simulation
(HTM) git clone git://src.adamsgaard.dk/granular
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 50bfdd9a9cab50af07ee70e3f62de9fb3656aa4a
(DIR) parent 4a19dc89eaa19b3f3b61c14805371cbbdf9f35ac
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
(DIR) 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