aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukasz@arcofasiagroup.com>2026-08-20 23:00:32 +0200
committerLukasz Kasprzak <lukasz@arcofasiagroup.com>2026-08-20 23:00:32 +0200
commit2fe328e64067f77070de3ba51f5cff3643afc47f (patch)
tree5e09f994b1de13eb0508e3adadf38ce8b882cab1 /Makefile
downloadcolitur-x-2fe328e64067f77070de3ba51f5cff3643afc47f.tar.gz
colitur-x-2fe328e64067f77070de3ba51f5cff3643afc47f.zip
colitur-x: raw Xlib month grid for colitur
Reads colitur emit --format csv on stdin and draws the year as a month grid coloured by liturgical colour, with the selected day's readings below. A separate program on purpose: colitur's dependencies are frozen and its kernel is pure, so a front-end composes with it rather than living in it. Configuration is compile-time, the same model clectio uses.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c74426a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+CFLAGS = -std=c99 -Os -Wall -Wextra $(shell pkg-config --cflags xft x11)
+LDLIBS = $(shell pkg-config --libs xft x11)
+colitur-x: colitur-x.c config.h
+ $(CC) $(CFLAGS) -o $@ colitur-x.c $(LDLIBS)
+clean:; rm -f colitur-x