aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukasz@arcofasiagroup.com>2026-08-21 10:23:52 +0200
committerLukasz Kasprzak <lukasz@arcofasiagroup.com>2026-08-21 10:23:52 +0200
commit5d1abc9111a2a448f05462e6140fadb7448218e6 (patch)
tree6eefaf104d40241b27f9afc2cf686e3c62337f7b /Makefile
parent69add3767988d0dfc6ecac37405cfb10abe8dbb7 (diff)
downloadcolitur-x-5d1abc9111a2a448f05462e6140fadb7448218e6.tar.gz
colitur-x-5d1abc9111a2a448f05462e6140fadb7448218e6.zip
split: colitur-mu moves to colitur-experiments
This repo now holds one finished program rather than a finished one and a sketch. The microui front-end, its Xlib backend and the vendored microui went to ../colitur-experiments with their history intact. Makefile, config.h and README trimmed to match.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 68bf656..89aac20 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# colitur-x / colitur-mu -- X11 front-ends for colitur.
+# colitur-x -- an X11 front-end for colitur.
# Configuration is compile-time: edit config.h and rebuild.
PREFIX ?= $(HOME)/.local
@@ -10,7 +10,7 @@ LDLIBS = $(shell pkg-config --libs xft x11)
.PHONY: all help clean install uninstall
-all: colitur-x colitur-mu ## build both front-ends
+all: colitur-x ## build it
help: ## list targets
@grep -hE '^[a-z-]+:.*##' $(MAKEFILE_LIST) \
@@ -19,16 +19,14 @@ help: ## list targets
colitur-x: colitur-x.c config.h ## the read-only month grid (raw Xlib)
$(CC) $(CFLAGS) $(X11FLAGS) -o $@ colitur-x.c $(LDLIBS)
-colitur-mu: colitur-mu.c mu_x11.c mu_x11.h vendor/microui.c vendor/microui.h config.h ## the editable list (microui)
- $(CC) $(CFLAGS) $(X11FLAGS) -o $@ colitur-mu.c mu_x11.c vendor/microui.c $(LDLIBS)
-install: all ## install both into $(BINDIR)
+install: all ## install into $(BINDIR)
@mkdir -p $(BINDIR)
- install -m 755 colitur-x colitur-mu $(BINDIR)
- @echo "installed colitur-x and colitur-mu into $(BINDIR)"
+ install -m 755 colitur-x $(BINDIR)
+ @echo "installed colitur-x into $(BINDIR)"
-uninstall: ## remove them again
- rm -f $(BINDIR)/colitur-x $(BINDIR)/colitur-mu
+uninstall: ## remove it again
+ rm -f $(BINDIR)/colitur-x
-clean: ## remove both binaries
- rm -f colitur-x colitur-mu
+clean: ## remove the binary
+ rm -f colitur-x