From b973169a3dbfd84688b2811a12e1d18e713eff9d Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Thu, 21 May 2009 09:56:55 +0000 Subject: Added proper dependencies for the "plugin_dist" target. svn-id: r40751 --- backends/platform/dc/Makefile | 6 +++--- backends/platform/dc/dreamcast.mk | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/backends/platform/dc/Makefile b/backends/platform/dc/Makefile index 127091dc2a..a9203f5384 100644 --- a/backends/platform/dc/Makefile +++ b/backends/platform/dc/Makefile @@ -76,12 +76,12 @@ scummvm.bin : scummvm.elf SCUMMVM.BIN : scummvm.bin scramble $< $@ -plugin_dist : - for p in plugins/*.plg; do \ +plugin_dist : $(PLUGINS) + for p in $(PLUGINS); do \ sh-elf-strip -g -o "`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`" "$$p"; \ done -dist : SCUMMVM.BIN plugins plugin_dist +dist : SCUMMVM.BIN plugin_dist spotless : distclean $(RM) SCUMMVM.BIN scummvm.bin *.PLG diff --git a/backends/platform/dc/dreamcast.mk b/backends/platform/dc/dreamcast.mk index 1879573764..6744ac149e 100644 --- a/backends/platform/dc/dreamcast.mk +++ b/backends/platform/dc/dreamcast.mk @@ -7,11 +7,11 @@ CC := $(CXX) ASFLAGS := $(CXXFLAGS) -dist : SCUMMVM.BIN plugins plugin_dist +dist : SCUMMVM.BIN plugin_dist -plugin_dist : - for p in plugins/*.plg; do \ - if [ x'plugins/*.plg' != x"$$p" ]; then sh-elf-strip -g -o "`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`" "$$p"; fi ; \ +plugin_dist : $(PLUGINS) + for p in $(PLUGINS); do \ + sh-elf-strip -g -o "`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`" "$$p"; \ done SCUMMVM.BIN : scummvm.bin -- cgit v1.2.3