Charles Zablit 49ef440525
[lldb] replace usage of $(RM) in Makefile (#180755)
This patch replaces the usages of `$(RM)` with cross platform `$(call
RM,...)` calls which was added in
https://github.com/llvm/llvm-project/pull/180224.
2026-02-12 14:54:33 +01:00

17 lines
332 B
Makefile

C_SOURCES := main.c
all: dirsymlink
dirreal: a.out
$(call RM_RF,$@)
mkdir $@
$(OBJCOPY) --only-keep-debug $< $@/stripped.debug
$(OBJCOPY) --strip-all --add-gnu-debuglink=$@/stripped.debug $< $@/stripped.out
dirsymlink: dirreal
$(call RM_RF,$@)
mkdir $@
ln -s ../$</stripped.out $@/stripped.symlink
include Makefile.rules