Skip to content

everyutil/everyutil-c

 
 

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 headers

int main() {
    call_some_function(); 
    return 0;
}

License

MIT License - Ilker Ozturk (GitHub@dailker) 2024

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.0%
  • Makefile 1.3%
  • Other 0.7%