From 8b222c9e59a41220ef69d2244544c13ca7f88c60 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Fri, 24 Apr 2026 18:12:37 -0400 Subject: convert build to Makefile, bump version --- config.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 config.mk (limited to 'config.mk') 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 -- cgit v1.2.3