From a88ad680422949dfe2d16a544a529649c6d07109 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Mon, 31 May 2021 17:08:09 +0100 Subject: Update build system to the latest luiml version --- README.md | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a6a337c..ddfec17 100644 --- a/README.md +++ b/README.md @@ -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 ------------ -- cgit v1.2.3-54-g00ecf