From 5ca3e835a7e8e97a168b0fee3e16a576c82e5e3f Mon Sep 17 00:00:00 2001 From: deepend Date: Sun, 25 Jan 2026 23:00:20 -0700 Subject: [PATCH] Replaced GLib allocation helpers in history management with standard free/strdup to reduce unnecessary GLib coupling. Updated the network helper API to use uint32_t and standard allocation/duplication routines, dropping the GLib include from the implementation and adding to the header. --- Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..038b2ec8 --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +PREFIX ?= /usr/local +BUILD_DIR ?= build +MESON ?= meson +NINJA ?= ninja +MESON_SETUP_ARGS ?= +MESON_COMPILE_ARGS ?= +MESON_INSTALL_ARGS ?= + +.PHONY: all configure build reconfigure install clean distclean + +all: build + +configure: + $(MESON) setup $(BUILD_DIR) --prefix=$(PREFIX) $(MESON_SETUP_ARGS) + +build: configure + $(MESON) compile -C $(BUILD_DIR) $(MESON_COMPILE_ARGS) + +reconfigure: + $(MESON) setup --reconfigure $(BUILD_DIR) --prefix=$(PREFIX) $(MESON_SETUP_ARGS) + +install: build + $(MESON) install -C $(BUILD_DIR) $(MESON_INSTALL_ARGS) + +clean: + $(MESON) compile -C $(BUILD_DIR) --clean + +distclean: + rm -rf $(BUILD_DIR) \ No newline at end of file