diff options
author | Marcus Comstedt | 2009-05-21 09:56:55 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-05-21 09:56:55 +0000 |
commit | b973169a3dbfd84688b2811a12e1d18e713eff9d (patch) | |
tree | 42126865718dd8f28917752ed389421b9619b94e | |
parent | 465da49782171d69e2fa9804c60e260f1e3a8efa (diff) | |
download | scummvm-rg350-b973169a3dbfd84688b2811a12e1d18e713eff9d.tar.gz scummvm-rg350-b973169a3dbfd84688b2811a12e1d18e713eff9d.tar.bz2 scummvm-rg350-b973169a3dbfd84688b2811a12e1d18e713eff9d.zip |
Added proper dependencies for the "plugin_dist" target.
svn-id: r40751
-rw-r--r-- | backends/platform/dc/Makefile | 6 | ||||
-rw-r--r-- | 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 |