From ff178b3d99511836c48c137ce26fc60ff0e2ebe1 Mon Sep 17 00:00:00 2001 From: Phineas Su Date: Wed, 15 Jul 2026 17:47:29 +0000 Subject: [PATCH] build(Makefile): add .PHONY targets, invoke perl for gen_expand, and remove redundant -lm Signed-off-by: Phineas Su --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1ba57eb..af67618 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,8 @@ endif EXE=multichase multiload fairness pingpong +.PHONY: all clean depend + all: $(EXE) clean: @@ -40,10 +42,9 @@ multichase: multichase.o permutation.o arena.o br_asm.o util.o multiload: multiload.o permutation.o arena.o util.o -fairness: LDLIBS += -lm expand.h: gen_expand - ./gen_expand 200 >expand.h.tmp + perl ./gen_expand 200 >expand.h.tmp mv expand.h.tmp expand.h depend: