From 291945f30496d2c41960b98c75e61871358f40a2 Mon Sep 17 00:00:00 2001 From: Chloe M Date: Sat, 15 Aug 2026 22:18:28 -0500 Subject: build: Use bop instead of make Signed-off-by: Chloe M --- Makefile | 28 ---------------------------- README.md | 2 +- core/.bop/posthook.sh | 1 + 3 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 Makefile create mode 100644 core/.bop/posthook.sh diff --git a/Makefile b/Makefile deleted file mode 100644 index 4d83e8c..0000000 --- a/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# -# Copyright (c) 2026, Chloe M. -# Provided under the BSD-3 clause.`` -# - -CFILES = $(shell find . -name "*.c") -OFILES = $(CFILES:.c=.o) -DFILES = $(CFILES:.c=.d) - -CC = \ - gcc - -CFLAGS = \ - -Wall \ - -pedantic \ - -MMD - -.PHONY: all -all: rdar - -.PHONY: rdar -rdar: $(OFILES) - $(CC) $^ -o $@ - --include $(DFILES) -%.o: %.c - $(CC) -c $(CFLAGS) $< -o $@ - diff --git a/README.md b/README.md index dfbf6ca..4a1151d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ RDAR stands for Reduced Disk Archive Format and serves to be a minimal bundle fo ## Building -Simply run ``make`` and that's it !! +Install ![bop](https://git.faracom.org/chloe/bop) and run ``BOP_BUILD=core bop build`` ## Format diff --git a/core/.bop/posthook.sh b/core/.bop/posthook.sh new file mode 100644 index 0000000..3f8d158 --- /dev/null +++ b/core/.bop/posthook.sh @@ -0,0 +1 @@ +clang core/*.c -o rdar -- cgit v1.2.3