initial commit

Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
2026-04-30 08:08:34 -04:00
commit d7b25b944b
5 changed files with 91 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#
# Copyright (c) 2026, Chloe M.
# Provided under the BSD-3 clause
#
CFILES = $(shell find . -name "*.c")
DFILES = $(CFILES:.c=.d)
OFILES = $(CFILES:.c=.o)
CC = gcc
CFLAGS = \
-Wall \
-pedantic \
-Iinc/ \
-MMD
.PHONY: all
all: blobchain
.PHONY: blobchain
blobchain: $(OFILES)
$(CC) $< -o $@
-include $(DFILES)
%.o: %.c
$(CC) -c $< $(CFLAGS) -o $@