summaryrefslogtreecommitdiff
path: root/prelude/Makefile
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-07-09 23:51:55 -0400
committerLLLL Colonq <llll@colonq>2026-07-09 23:51:55 -0400
commit2bdcaf319b1d74ffbaccf08a58336f804761beab (patch)
treec21de6df74ec79b5574ad2b89fcc275d10847802 /prelude/Makefile
Refactor into monorepo
Diffstat (limited to 'prelude/Makefile')
-rw-r--r--prelude/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/prelude/Makefile b/prelude/Makefile
new file mode 100644
index 0000000..21d07ea
--- /dev/null
+++ b/prelude/Makefile
@@ -0,0 +1,19 @@
+CHK_SOURCES ?=
+
+prefix ?= /usr/local
+exec_prefix ?= $(prefix)
+includedir ?= $(prefix)/include
+
+.PHONY: all clean install check-syntax
+
+all:
+ @echo "Nothing to build! This is a header-only library."
+
+clean:
+
+install: $(EXE) $(LIB)
+ mkdir -p $(DESTDIR)$(includedir)
+ cp -r include/* $(DESTDIR)$(includedir)
+
+check-syntax:
+ gcc $(CFLAGS) -fsyntax-only $(CHK_SOURCES)