From 65a9023c07567b72560d8e82510741aa456a1885 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Tue, 25 Jun 2024 16:45:46 +0100 Subject: [PATCH] invoke pwsh --- makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 59bd2ab..70ba5ad 100644 --- a/makefile +++ b/makefile @@ -25,9 +25,10 @@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c | $(OBJ_DIR) $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ $(BIN_DIR) $(OBJ_DIR): - mkdir -p $@ + pwsh -Command New-Item -Path $@ -ItemType Directory clean: - @$(RM) -rv $(EXE) $(OBJ_DIR) + pwsh -Command Remove-Item -Recurse $(EXE) + pwsh -Command Remove-Item -Recurse $(OBJ_DIR) -include $(OBJ:.o=.d)