Initial Commit

This commit is contained in:
2025-08-30 16:07:19 +01:00
commit d86c15e30c
169 changed files with 121377 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
# Customize below to fit your system (run ./configure for automatic presets)
# paths (unset $PCPREFIX to not install a pkg-config-file)
DESTDIR =
PREFIX = /usr/local
INCPREFIX = $(PREFIX)/include
LIBPREFIX = $(PREFIX)/lib
MANPREFIX = $(PREFIX)/share/man
PCPREFIX = $(LIBPREFIX)/pkgconfig
# flags
CPPFLAGS = -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -Os -Wall -Wextra -Wpedantic
LDFLAGS = -s
BUILD_CPPFLAGS = $(CPPFLAGS)
BUILD_CFLAGS = $(CFLAGS)
BUILD_LDFLAGS = $(LDFLAGS)
SHFLAGS = -fPIC -ffreestanding
SOFLAGS = -shared -nostdlib -Wl,--soname=libgrapheme.so.$(VERSION_MAJOR).$(VERSION_MINOR)
SONAME = libgrapheme.so.$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)
SOSYMLINK = true
# tools (unset $LDCONFIG to not call ldconfig(1) after install/uninstall)
CC = cc
BUILD_CC = $(CC)
AR = ar
RANLIB = ranlib
LDCONFIG = ldconfig
SH = sh