fix: Updating README.md
This commit is contained in:
24
README.md
24
README.md
@@ -2,33 +2,11 @@
|
||||
|
||||
Tiny C testing framework.
|
||||
|
||||
## Build
|
||||
|
||||
To build the library simply call `make` in the repository root.
|
||||
|
||||
Alternatively it is possible to directly call the compiler with:
|
||||
|
||||
gcc -c src/*.c
|
||||
ar rcs libset.a *.o
|
||||
rm *.o # Clean up
|
||||
|
||||
### Options
|
||||
|
||||
SET comes with a couple of build options that might come in handy in different scenarios.
|
||||
|
||||
- no_banner: Do not print banner every time the tests are run.
|
||||
|
||||
make no_banner=y
|
||||
|
||||
- colorized: Build with colorized output.
|
||||
|
||||
make colorized=y
|
||||
|
||||
## Building a test.
|
||||
|
||||
To build a test, first build the library. Then link it to the `test.c` via:
|
||||
|
||||
gcc -static test.c -L . -lset -o test
|
||||
gcc src/*.c test.c -o test
|
||||
|
||||
## LICENSE
|
||||
|
||||
|
Reference in New Issue
Block a user