aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2004-01-31 20:34:32 +0000
committerMarcus Comstedt2004-01-31 20:34:32 +0000
commita67aca5b19b45bee2dd27b1186248bc9acf79684 (patch)
tree3b8bd2cf6fa2db067f6fec90cafb95d7e5dfe7ba /backends
parent47819c9d49a0bd165f3c47948efce72c782a6422 (diff)
downloadscummvm-rg350-a67aca5b19b45bee2dd27b1186248bc9acf79684.tar.gz
scummvm-rg350-a67aca5b19b45bee2dd27b1186248bc9acf79684.tar.bz2
scummvm-rg350-a67aca5b19b45bee2dd27b1186248bc9acf79684.zip
Cleanup.
svn-id: r12690
Diffstat (limited to 'backends')
-rw-r--r--backends/dc/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/backends/dc/Makefile b/backends/dc/Makefile
index ea0e095aff..3b18d8af98 100644
--- a/backends/dc/Makefile
+++ b/backends/dc/Makefile
@@ -2,14 +2,14 @@
ronindir = /usr/local/ronin
-VPATH = ../..
srcdir = ../..
+VPATH = $(srcdir)
CXX = sh-elf-g++ -ml -m4-single-only
CXXFLAGS= -O1 -Wno-multichar -funroll-loops -fschedule-insns2 -fomit-frame-pointer -fdelete-null-pointer-checks -fno-exceptions
DEFINES = -D__DC__ -DNONSTANDARD_PORT
LDFLAGS := -Wl,-Ttext,0x8c010000 -nostartfiles $(ronindir)/lib/crt0.o
-INCLUDES:= -I./ -I../.. -I../../common -I$(ronindir)/include/
+INCLUDES:= -I./ -I$(srcdir) -I$(srcdir)/common -I$(ronindir)/include/
CPPFLAGS= $(DEFINES) $(INCLUDES)
LIBS = -L$(ronindir)/lib -lronin -lz -lm
EXEEXT = .elf
@@ -24,16 +24,9 @@ RANLIB = sh-elf-ranlib
OBJS := dcmain.o time.o display.o audio.o input.o selector.o icon.o \
label.o vmsave.o backends/fs/posix/posix-fs.o
-include ../../Makefile.common
+include $(srcdir)/Makefile.common
INCS += portdefs.h dc.h
-LIBS := scumm/libscumm.a common/libcommon.a $(LIBS)
$(OBJS): Makefile
-%/module.mk :
- @mkdir -p $*
- @test -h common.rules || ln -s ../../common.rules ./
- @test ! -f ../../$@ || \
- ln -s `echo $* | sed -e 's/[^/][^/]*/../g'`/../../$@ $@
-