- crimata-dock: C daemon (libmicrohttpd + libsystemd) on port 7701
- GET /apps: lists installed apps with live running status from systemd
- POST /apps/{id}/start|stop: controls crimata-*.service units
- Add README with install paths and port map
- Add MIT License
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
228 B
Makefile
13 lines
228 B
Makefile
CC = gcc
|
|
CFLAGS = -Wall -Wextra -O2
|
|
LIBS = -lmicrohttpd -lsystemd
|
|
SRC = src/main.c src/apps.c src/systemd.c
|
|
OUT = crimata-dock
|
|
|
|
.PHONY: all clean
|
|
|
|
all:
|
|
$(CC) $(CFLAGS) $(SRC) $(LIBS) -o $(OUT)
|
|
|
|
clean:
|
|
rm -f $(OUT)
|