BUILD: Avoid duplicating the split dwarf generation rule

This commit is contained in:
Le Philousophe 2024-09-07 12:42:01 +02:00
parent f388369c79
commit 246b803521
2 changed files with 2 additions and 5 deletions

View File

@ -133,8 +133,8 @@ $(EXECUTABLE): $(DETECT_OBJS) $(OBJS)
+$(QUIET)$(LS) $@
ifdef SPLIT_DWARF
$(EXECUTABLE).dwp: $(EXECUTABLE)
$(QUIET_DWP)$(DWP) -e $(EXECUTABLE)
%.dwp: %
$(QUIET_DWP)$(DWP) -e $<
endif
# Grab the ScummVM Manual from Read the Docs

View File

@ -57,9 +57,6 @@ PLUGIN:=
plugins: $(PLUGIN-$(MODULE))
ifdef SPLIT_DWARF
$(PLUGIN-$(MODULE)).dwp: $(PLUGIN-$(MODULE))
$(QUIET_DWP)$(DWP) -e $<
plugins: $(PLUGIN-$(MODULE)).dwp
endif