Skip to content

Commit 32a588f

Browse files
authored
Update README.md
1 parent 7f40d95 commit 32a588f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,17 @@ to/from files, as well as performing common arithmetic operations. These
1313
arithmetic operations are performed in roughly the same way arithmetic
1414
is done on floating point numbers in the IEEE-754 standard, except that
1515
everything is in decimal format.
16+
17+
To compile:
18+
Place dfloat.c and dfloat.h in the same directory as your project
19+
Create linkable object file: gcc -c dfloat.c
20+
#include "dfloat.h" in any C files that use libdfloat
21+
Make linkable object files from your own project files
22+
Run the following command: gcc -o project_name *.o
23+
24+
Be sure to credit me and include the Michael Warren FSL with any project
25+
that uses libdfloat. See the license for details.
26+
27+
I will be adding a Makefile in the future to automate this whole process,
28+
and hopefully I can find a way to make libdfloat into a shared object
29+
file on all major platforms.

0 commit comments

Comments
 (0)