Skip to content

Repository files navigation

everyutil-c

A comprehensive C utility library with logic functions and cross-platform support.

Features

  • ✅ Header files with proper API declarations
  • ✅ Source implementation in C
  • ✅ Test files with validation cases
  • ✅ Windows DLL export support
  • ✅ Cross-platform compatibility

Building

Quick Start (Recommended)

# Use the automated build script
bash build.sh

Manual Build Options

Using Makefile (Direct)

make all # Build everything (static, shared, tests)
make static # Build static library only
make shared # Build shared library only
make test# Build and run tests
make clean # Clean build artifacts

Using Autotools

autoreconf --install
./configure
make
make test

Using CMake (if available)

mkdir build &&cd build
cmake ..
make

Troubleshooting

CMake not found?

  • Use bash build.sh or make all instead
  • The build script will auto-install dependencies on MSYS2/Linux

Missing dependencies?

  • MSYS2: pacman -S autoconf gcc make
  • Ubuntu/Debian: sudo apt-get install autoconf gcc make
  • Fedora: sudo dnf install autoconf gcc make

How to Code

You can easily add it to your code when you build the project. Nothing messy ;)

#include<everyutil/some_header.h>// adjust based on actual headersintmain() {
call_some_function(); return0;
}

License

MIT License - Ilker Ozturk (GitHub@dailker) 2024

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages