aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2
diff options
context:
space:
mode:
authorMax Horn2010-07-29 13:02:14 +0000
committerMax Horn2010-07-29 13:02:14 +0000
commit264d17ccc7644440d4cd3dc64e14f3e0bd431fd4 (patch)
tree156ed580e08a6841f1f87328de61611edb5dd83a /backends/platform/ps2
parent7364b9bb2f695918729606a716547d74b62b479c (diff)
downloadscummvm-rg350-264d17ccc7644440d4cd3dc64e14f3e0bd431fd4.tar.gz
scummvm-rg350-264d17ccc7644440d4cd3dc64e14f3e0bd431fd4.tar.bz2
scummvm-rg350-264d17ccc7644440d4cd3dc64e14f3e0bd431fd4.zip
BUILD: Compile & link certain files only for specific BACKEND values
svn-id: r51465
Diffstat (limited to 'backends/platform/ps2')
-rw-r--r--backends/platform/ps2/Makefile.gdb2
-rw-r--r--backends/platform/ps2/Makefile.ps22
2 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/ps2/Makefile.gdb b/backends/platform/ps2/Makefile.gdb
index 41ac58d629..53646a9546 100644
--- a/backends/platform/ps2/Makefile.gdb
+++ b/backends/platform/ps2/Makefile.gdb
@@ -75,6 +75,8 @@ OBJS := backends/platform/ps2/DmaPipe.o \
MODULE_DIRS += .
+BACKEND := ps2
+
include $(srcdir)/Makefile.common
LDFLAGS += -mno-crt0 $(PS2SDK)/ee/startup/crt0.o -T $(PS2SDK)/ee/startup/linkfile
diff --git a/backends/platform/ps2/Makefile.ps2 b/backends/platform/ps2/Makefile.ps2
index bf7ac0aca0..d2a8d210e4 100644
--- a/backends/platform/ps2/Makefile.ps2
+++ b/backends/platform/ps2/Makefile.ps2
@@ -75,6 +75,8 @@ OBJS := backends/platform/ps2/DmaPipe.o \
MODULE_DIRS += .
+BACKEND := ps2
+
include $(srcdir)/Makefile.common
LDFLAGS += -mno-crt0 $(PS2SDK)/ee/startup/crt0.o -T $(PS2SDK)/ee/startup/linkfile