diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-05-31 17:08:09 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-05-31 17:38:33 +0100 |
commit | a88ad680422949dfe2d16a544a529649c6d07109 (patch) | |
tree | df4d9463a099d4b87cd0f201f80db5c5d628ffad /README.md | |
parent | 13ceac75a8ed37ddc02df2b41627329c4da24b04 (diff) | |
download | pack-a88ad680422949dfe2d16a544a529649c6d07109.tar.gz pack-a88ad680422949dfe2d16a544a529649c6d07109.tar.xz pack-a88ad680422949dfe2d16a544a529649c6d07109.zip |
Update build system to the latest luiml version
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -6,32 +6,26 @@ Pack is a simple serialisation and deserialisation library for C. Dependencies ------------ -- A DJB redo compatible redo implementation +- A apenwarr redo compatible redo implementation - A relatively recent copy of bash -- gcc with C11 support (To use clang, edit `link` and `default.o.do`) +- A c compiler with C11 support Compilation ----------- -Optionally run `./configure release` to enable good additional default flags. -Alternatively, copy the files in `args/release/` to the project root and add -additional linker or compiler arguments necessary to build on your machine into -link.args and compile.args respectively. Please report flags necessary to build -on your platform so that they can be documented and potentially even -auto-detected. - -Run `redo` to build the code and tests. +Run `./configure` (see `./configure -h` for additional options). +Run `redo all` to build the code and tests. Testing ------- -Run `test` to run all the tests. +Run `./test` to run all the tests. Development ----------- -Development args for the compiler and linker are stored in `args/devel/` and can -be copied from there manually or symlinked with `./configure devel`. +Please configure with `-w` and ensure code compiles cleanly. Although compiler +versions can enable different warnings. Contributing ------------ |