From 3a965154ed4a68a401450cd4c5cab8b1a0a583b7 Mon Sep 17 00:00:00 2001 From: flysand7 Date: Tue, 1 Aug 2023 12:23:25 +1100 Subject: [PATCH] Update readme instruction --- readme.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index f0bec4f..a17a453 100644 --- a/readme.md +++ b/readme.md @@ -120,26 +120,27 @@ Options: Grab the following files into your project's (or any other) directory: - The `./include` folder -- The `.lib` folder -- (Windows only) The `utf8` folder +- The `./lib` folder +- (Windows only) The `./utf8` folder -In order to compile your project with ciabatta see the following sections +In order to compile your project with ciabatta see the following sections, +assuming you put all files mentioned above in the `./ciabatta` folder ### Compiling with ciabatta on windows 1. Add the following flags to your compilation command: - `-nostdlib -D _CIA_OS_WINDOWS -I /include utf8.obj -mfma` + `-nostdlib -I ./ciabatta/include utf8.obj -mfma` 2. Add the following sources to the compile command: - `./lib/ciabatta.lib ./lib/cia.lib ./lib/crt.lib` + `./ciabatta/lib/ciabatta.lib ./ciabatta/lib/cia.lib ./ciabatta/lib/crt.lib` **Note:** The `include` folder refers to the folder you copied from ciabatta. Set the path to it accordingly. ### Compiling with ciabatta on linux 1. Add the following flags to your compilation command: - - `-nostdlib -D _CIA_OS_LINUX -I ./include -mfma` + - `-nostdlib -I ./ciabatta/include -mfma` 2. Link to the following libraries - - `./lib/ciabatta.a` + - `./ciabatta/lib/ciabatta.a` ## Contributing