From affa5e2933186970d0a3dac38d2ca8f02190e4d9 Mon Sep 17 00:00:00 2001 From: Matthew Sotoudeh Date: Wed, 15 May 2024 20:15:45 -0700 Subject: basic magic buddy allocator --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..22c011a --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: all clean + +CFLAGS += -g +CFLAGS += -O3 +CFLAGS += -fsanitize=address + +all: build/magic + +build/magic: main.c magic_buddy.c + @ mkdir -p build + $(CC) $(CFLAGS) $^ -o $@ + +clean: + rm -rf build -- cgit v1.2.3