From 9c643bd0a87a1882279b0c056b91397d89c8d275 Mon Sep 17 00:00:00 2001 From: flysand7 Date: Sun, 18 Jun 2023 18:28:07 +1100 Subject: [PATCH] rename some files --- bake.cmd => build.cmd | 2 +- {doc => docs}/assert.md | 0 {doc => docs}/complex.md | 0 {doc => docs}/readme.md | 0 {inc => include}/_stdatomic.h | 0 {inc => include}/assert.h | 0 {inc => include}/complex.h | 0 {inc => include}/ctype.h | 0 {inc => include}/errno.h | 0 {inc => include}/fenv.h | 0 {inc => include}/float.h | 0 {inc => include}/inttypes.h | 0 {inc => include}/iso646.h | 0 {inc => include}/limits.h | 0 {inc => include}/locale.h | 0 {inc => include}/math.h | 0 {inc => include}/os_win/threads_types.h | 0 {inc => include}/signal.h | 0 {inc => include}/std.h | 0 {inc => include}/stdalign.h | 0 {inc => include}/stdbool.h | 0 {inc => include}/stddef.h | 0 {inc => include}/stdint.h | 0 {inc => include}/stdio.h | 0 {inc => include}/stdlib.h | 0 {inc => include}/stdnoreturn.h | 0 {inc => include}/string.h | 0 {inc => include}/tgmath.h | 0 {inc => include}/threads.h | 0 {inc => include}/time.h | 0 {inc => include}/uchar.h | 0 {inc => include}/wchar.h | 0 {inc => include}/wctype.h | 0 readme | 8 ++++---- 34 files changed, 5 insertions(+), 5 deletions(-) rename bake.cmd => build.cmd (90%) rename {doc => docs}/assert.md (100%) rename {doc => docs}/complex.md (100%) rename {doc => docs}/readme.md (100%) rename {inc => include}/_stdatomic.h (100%) rename {inc => include}/assert.h (100%) rename {inc => include}/complex.h (100%) rename {inc => include}/ctype.h (100%) rename {inc => include}/errno.h (100%) rename {inc => include}/fenv.h (100%) rename {inc => include}/float.h (100%) rename {inc => include}/inttypes.h (100%) rename {inc => include}/iso646.h (100%) rename {inc => include}/limits.h (100%) rename {inc => include}/locale.h (100%) rename {inc => include}/math.h (100%) rename {inc => include}/os_win/threads_types.h (100%) rename {inc => include}/signal.h (100%) rename {inc => include}/std.h (100%) rename {inc => include}/stdalign.h (100%) rename {inc => include}/stdbool.h (100%) rename {inc => include}/stddef.h (100%) rename {inc => include}/stdint.h (100%) rename {inc => include}/stdio.h (100%) rename {inc => include}/stdlib.h (100%) rename {inc => include}/stdnoreturn.h (100%) rename {inc => include}/string.h (100%) rename {inc => include}/tgmath.h (100%) rename {inc => include}/threads.h (100%) rename {inc => include}/time.h (100%) rename {inc => include}/uchar.h (100%) rename {inc => include}/wchar.h (100%) rename {inc => include}/wctype.h (100%) diff --git a/bake.cmd b/build.cmd similarity index 90% rename from bake.cmd rename to build.cmd index a8362c6..30dccb8 100644 --- a/bake.cmd +++ b/build.cmd @@ -8,6 +8,6 @@ windres -o utf8.obj utf8.rc nasm src\os_win\chkstk.asm -ochkstk.o -fwin64 :: Compile the rest of the party -clang -Wall src\ciabatta.c -o ciabatta.obj -c -DCIABATTA_WIN -I src -I inc -nodefaultlibs -g -mfma +clang -Wall src\ciabatta.c -o ciabatta.obj -c -DCIABATTA_WIN -I src -I include -nodefaultlibs -g -mfma rem cuik src\ciabatta.c -o ciabatta.obj -c -DCIABATTA_WIN -I src -I inc -nostdlib lib /nologo /out:ciabatta.lib chkstk.o utf8.obj ciabatta.obj diff --git a/doc/assert.md b/docs/assert.md similarity index 100% rename from doc/assert.md rename to docs/assert.md diff --git a/doc/complex.md b/docs/complex.md similarity index 100% rename from doc/complex.md rename to docs/complex.md diff --git a/doc/readme.md b/docs/readme.md similarity index 100% rename from doc/readme.md rename to docs/readme.md diff --git a/inc/_stdatomic.h b/include/_stdatomic.h similarity index 100% rename from inc/_stdatomic.h rename to include/_stdatomic.h diff --git a/inc/assert.h b/include/assert.h similarity index 100% rename from inc/assert.h rename to include/assert.h diff --git a/inc/complex.h b/include/complex.h similarity index 100% rename from inc/complex.h rename to include/complex.h diff --git a/inc/ctype.h b/include/ctype.h similarity index 100% rename from inc/ctype.h rename to include/ctype.h diff --git a/inc/errno.h b/include/errno.h similarity index 100% rename from inc/errno.h rename to include/errno.h diff --git a/inc/fenv.h b/include/fenv.h similarity index 100% rename from inc/fenv.h rename to include/fenv.h diff --git a/inc/float.h b/include/float.h similarity index 100% rename from inc/float.h rename to include/float.h diff --git a/inc/inttypes.h b/include/inttypes.h similarity index 100% rename from inc/inttypes.h rename to include/inttypes.h diff --git a/inc/iso646.h b/include/iso646.h similarity index 100% rename from inc/iso646.h rename to include/iso646.h diff --git a/inc/limits.h b/include/limits.h similarity index 100% rename from inc/limits.h rename to include/limits.h diff --git a/inc/locale.h b/include/locale.h similarity index 100% rename from inc/locale.h rename to include/locale.h diff --git a/inc/math.h b/include/math.h similarity index 100% rename from inc/math.h rename to include/math.h diff --git a/inc/os_win/threads_types.h b/include/os_win/threads_types.h similarity index 100% rename from inc/os_win/threads_types.h rename to include/os_win/threads_types.h diff --git a/inc/signal.h b/include/signal.h similarity index 100% rename from inc/signal.h rename to include/signal.h diff --git a/inc/std.h b/include/std.h similarity index 100% rename from inc/std.h rename to include/std.h diff --git a/inc/stdalign.h b/include/stdalign.h similarity index 100% rename from inc/stdalign.h rename to include/stdalign.h diff --git a/inc/stdbool.h b/include/stdbool.h similarity index 100% rename from inc/stdbool.h rename to include/stdbool.h diff --git a/inc/stddef.h b/include/stddef.h similarity index 100% rename from inc/stddef.h rename to include/stddef.h diff --git a/inc/stdint.h b/include/stdint.h similarity index 100% rename from inc/stdint.h rename to include/stdint.h diff --git a/inc/stdio.h b/include/stdio.h similarity index 100% rename from inc/stdio.h rename to include/stdio.h diff --git a/inc/stdlib.h b/include/stdlib.h similarity index 100% rename from inc/stdlib.h rename to include/stdlib.h diff --git a/inc/stdnoreturn.h b/include/stdnoreturn.h similarity index 100% rename from inc/stdnoreturn.h rename to include/stdnoreturn.h diff --git a/inc/string.h b/include/string.h similarity index 100% rename from inc/string.h rename to include/string.h diff --git a/inc/tgmath.h b/include/tgmath.h similarity index 100% rename from inc/tgmath.h rename to include/tgmath.h diff --git a/inc/threads.h b/include/threads.h similarity index 100% rename from inc/threads.h rename to include/threads.h diff --git a/inc/time.h b/include/time.h similarity index 100% rename from inc/time.h rename to include/time.h diff --git a/inc/uchar.h b/include/uchar.h similarity index 100% rename from inc/uchar.h rename to include/uchar.h diff --git a/inc/wchar.h b/include/wchar.h similarity index 100% rename from inc/wchar.h rename to include/wchar.h diff --git a/inc/wctype.h b/include/wctype.h similarity index 100% rename from inc/wctype.h rename to include/wctype.h diff --git a/readme b/readme index 5857b4e..681df62 100644 --- a/readme +++ b/readme @@ -51,11 +51,11 @@ have been compiled and tested with is clang. Note that the library can only be used with clang 1. Run bake.cmd to compile ciabatta 2. Grab the following files into your project's directory: -- The inc folder -- The ciabatta.lib archive file -- The utf8.obj object file +- The ./include folder +- The ./ciabatta.lib archive file +- The ./utf8.obj object file 3. Add the following flags to your compilation command: - -I inc utf8.obj -nostdlib -mfma + -I ./include utf8.obj -nostdlib -mfma 4. Don't forget to link to the following libraries: -lciabatta.lib