summaryrefslogtreecommitdiff
path: root/lua_benchmark/Makefile
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2024-05-17 16:37:15 -0700
committerMatthew Sotoudeh <matthew@masot.net>2024-05-17 16:37:15 -0700
commit389e3a1e44a6e29655dd13b63132aa12dd6620d4 (patch)
tree167fdf9558df46779349a0d8cd69b1551be8f09d /lua_benchmark/Makefile
parent22f6857bc2c029d41b924c9dcb8c42ad7a57df68 (diff)
baseline buddy allocator
Diffstat (limited to 'lua_benchmark/Makefile')
-rw-r--r--lua_benchmark/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lua_benchmark/Makefile b/lua_benchmark/Makefile
index 7d73403..a085e58 100644
--- a/lua_benchmark/Makefile
+++ b/lua_benchmark/Makefile
@@ -5,7 +5,7 @@ CFLAGS += -O3
CFLAGS += -llua5.4
# CFLAGS += -fsanitize=address
-all: build/system build/magic_buddy build/jemalloc build/growing_magic_buddy
+all: build/system build/magic_buddy build/jemalloc build/growing_magic_buddy build/baseline_buddy
build/system: main.c
@ mkdir -p build
@@ -23,5 +23,9 @@ build/growing_magic_buddy: main.c magic_buddy/magic_buddy.c
@ mkdir -p build
$(CC) -DALLOC_GROWING_MAGIC_BUDDY $^ $(CFLAGS) -o $@
+build/baseline_buddy: main.c
+ @ mkdir -p build
+ $(CC) -DALLOC_BASELINE_BUDDY $^ $(CFLAGS) -o $@
+
clean:
rm -rf build
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback