Files
skilld/Makefile
T
Konrad ad002ecfa5 build standalone: vendor libmcp header, fix include path
Each repository now builds and tests on its own instead of reaching into a
sibling checkout.
2026-11-06 18:01:06 +00:00

22 lines
361 B
Makefile

CC ?= cc
CFLAGS ?= -std=c99 -O2 -Wall -Wextra -Werror
LIBDIR ?= vendor/libmcp
PREFIX ?= /usr/local
all: skilld
skilld: skilld.c $(LIBDIR)/mcp.h
$(CC) $(CFLAGS) -I$(LIBDIR) -o $@ skilld.c
test: skilld
./tests/run.sh
install: skilld
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp skilld $(DESTDIR)$(PREFIX)/bin/
clean:
rm -f skilld
.PHONY: all test install clean