crimata-os/dock/Makefile
Andrew Gundersen a825aec162 Add dock service, provision README, MIT License
- 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>
2026-02-26 23:51:56 -05:00

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)