Files
zoitechat/Makefile
deepend 5ca3e835a7 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 <stdint.h> to the header.
2026-01-25 23:00:20 -07:00

29 lines
615 B
Makefile

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)