chore: split clean target into separate rm commands for build, release, and debug artifacts
The clean target previously removed all artifacts with a single glob pattern. This change explicitly separates the removal of the build directory, release artifacts (wren, libwren.a, libwren.so), and debug artifacts (wrend, libwrend.a, libwrend.so) into distinct rm commands for clarity and maintainability.
This commit is contained in:
@@ -48,7 +48,9 @@ RELEASE_CPP_LIB_OBJECTS := $(subst build/release-cpp/main.o,,$(RELEASE_CPP_OBJEC
|
|||||||
all: release
|
all: release
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf build wren wrend libwren* libwrend*
|
@rm -rf build
|
||||||
|
@rm -rf wren libwren.a libwren.so
|
||||||
|
@rm -rf wrend libwrend.a libwrend.so
|
||||||
|
|
||||||
prep:
|
prep:
|
||||||
@mkdir -p build/debug build/release build/release-cpp
|
@mkdir -p build/debug build/release build/release-cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user