commit 674157bbc0473c9662e512487cf1e0fa91e6d325
parent f5a7ddbe7c5d951bbd175b2cfc2dc8b33ad7cdad
Author: amrfti <andrew@kloet.net>
Date: Thu, 22 May 2025 21:57:26 -0400
create bin dir
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -24,6 +24,7 @@ all: $(EXEC)
# Rule to link the object files into the final executable
$(EXEC): $(OBJECTS)
+ @mkdir -p $(BIN_DIR) # Make sure the bin dir exists
$(CXX) $(OBJECTS) -o $(EXEC) $(LDFLAGS)
# Rule to compile .cpp files into .o files