From 5ecd0fc61a1a292426538fcb1e791342e04953b5 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 6 Mar 2024 16:41:59 +0100 Subject: Genesis --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8da53a4 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +MAKEFLAGS = -j8 +srcs := $(shell find . -name '*.c') +objs := $(srcs:.c=.o) + +all: $(objs) +%.o: %.c + gcc-13 -std=c2x -Iinclude -c -o $@ $< + +clean: + rm -f $(objs) + +.PHONY: clean -- cgit v1.2.3