summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2026-04-24 18:12:37 -0400
committerJonathan Bradley <jcb@pikum.xyz>2026-04-24 18:12:37 -0400
commit8b222c9e59a41220ef69d2244544c13ca7f88c60 (patch)
tree5e95cfd3b454f7c9b0dbfcca4afe9b9899266158 /config.mk
parenta4f4ee9420857e385c6aca00526ae881afcca640 (diff)
convert build to Makefile, bump versionHEADmaster
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..9a21e69
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,20 @@
+# spreed version
+VERSION = 0.2
+
+# paths
+BIN = bin
+PREFIX = /usr/local
+MANPREFIX = $(PREFIX)/share/man
+
+# includes and libs
+INCS =
+LIBS =
+
+# flags
+CFLAGS = -std=c99 -pedantic -Wall -O2 $(INCS)\
+ -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"\
+ -DLVERSION=L\"$(VERSION)\"
+LDFLAGS = -s $(LIBS)
+
+# compiler and linker
+CC ?= /usr/bin/gcc