From 9d1a9147b7f1c3be67c1bb149842134b4233b371 Mon Sep 17 00:00:00 2001 From: yenru0 Date: Mon, 17 Nov 2025 15:48:37 +0900 Subject: [PATCH] fix makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ff9953f..8853883 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,10 @@ TARGET := cval.out .PHONY: all clean -all: $(TARGET) +all: init $(TARGET) + +init: + mkdir -p $(BUILD_DIR) $(TARGET): $(OBJ) $(CC) $(CFLAGS) -o $(BUILD_DIR)/$(TARGET) $(OBJ)