aboutsummaryrefslogtreecommitdiff
path: root/.make.example
diff options
context:
space:
mode:
authorMosder <git@mosder.eu>2026-09-16 16:50:23 +0200
committerMosder <git@mosder.eu>2026-09-16 16:50:23 +0200
commit7e2a83a08d7b8bd8930aed0e9fcda614319d97f5 (patch)
tree2083ee43c39c521a30a1bdfa95b209d9eb859199 /.make.example
parent2b31f83e8a92a6da1956c992d63afa2fb3dc29c4 (diff)
feat: generalized and improved Makefile + added config options to it
Diffstat (limited to '.make.example')
-rw-r--r--.make.example13
1 files changed, 13 insertions, 0 deletions
diff --git a/.make.example b/.make.example
new file mode 100644
index 0000000..ceb431f
--- /dev/null
+++ b/.make.example
@@ -0,0 +1,13 @@
+# Makefile config
+
+# Change which C compiler will be used
+#
+# default: CC=cc
+CC=
+
+# Change where the header and lib files will land
+# .h files will land in $(TARGET_PREFIX)/include
+# .so and/or .a file will land in $(TARGET_PREFIX)/lib
+#
+# default: TARGET_PREFIX=/usr/local
+TARGET_PREFIX=