aboutsummaryrefslogtreecommitdiff
path: root/backends/dc
diff options
context:
space:
mode:
authorMarcus Comstedt2003-04-03 21:51:15 +0000
committerMarcus Comstedt2003-04-03 21:51:15 +0000
commit77718200b98fd7ce8359efc5903ac416255ecc55 (patch)
tree37da589e0fb5e0fd1b8332d856564886a1e52b44 /backends/dc
parent03dbeae1e639ccfb22ad1469612990222a3cece0 (diff)
downloadscummvm-rg350-77718200b98fd7ce8359efc5903ac416255ecc55.tar.gz
scummvm-rg350-77718200b98fd7ce8359efc5903ac416255ecc55.tar.bz2
scummvm-rg350-77718200b98fd7ce8359efc5903ac416255ecc55.zip
Updated to new libronin layout.
svn-id: r6903
Diffstat (limited to 'backends/dc')
-rw-r--r--backends/dc/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/backends/dc/Makefile b/backends/dc/Makefile
index d8a8f556f1..0b71d0fb7f 100644
--- a/backends/dc/Makefile
+++ b/backends/dc/Makefile
@@ -7,10 +7,10 @@ VPATH = ../..
CXX = sh-elf-g++ -ml -m4-single-only
CXXFLAGS= -O4 -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 ronin/crt0.o
-INCLUDES:= -I./ -I../.. -I../../common
+LDFLAGS := -Wl,-Ttext,0x8c010000 -nostartfiles $(ronindir)/lib/crt0.o
+INCLUDES:= -I./ -I../.. -I../../common -I$(ronindir)/include/
CPPFLAGS= $(DEFINES) $(INCLUDES)
-LIBS = ronin/libronin.a ronin/libz.a -lm
+LIBS = -L$(ronindir)/lib -lronin -lz -lm
EXEEXT = .elf
MKDIR = mkdir -p
ECHO = /usr/ucb/echo -n
@@ -27,10 +27,7 @@ include ../../Makefile.common
INCS += portdefs.h dc.h
LIBS := scumm/libscumm.a common/libcommon.a $(LIBS)
-$(OBJS): Makefile ronin
-
-ronin:
- ln -s $(ronindir) $@
+$(OBJS): Makefile
%/module.mk :
@mkdir -p $*