Skip to content

Commit

Permalink
int - Made 'clean' more dynamic
Browse files Browse the repository at this point in the history
---

We've made cleaning the bin and the obj directories more dynamic.

---

Type: int
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Dec 5, 2024
1 parent aa6fbb1 commit 1ab8e5a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
OUTPUTS = VisualCard.*/bin VisualCard.*/obj VisualCard/bin VisualCard/obj
ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
OUTPUTS := \
-name "bin" -or \
-name "obj"

.PHONY: all

Expand All @@ -16,6 +19,6 @@ doc:
$(MAKE) -C tools invoke-doc-build

clean:
rm -rf $(OUTPUTS)
find $(ROOT_DIR) -type d \( $(OUTPUTS) \) -print -exec rm -rf {} +

# This makefile is just a wrapper for tools scripts.

0 comments on commit 1ab8e5a

Please sign in to comment.