From 77718200b98fd7ce8359efc5903ac416255ecc55 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Thu, 3 Apr 2003 21:51:15 +0000 Subject: Updated to new libronin layout. svn-id: r6903 --- backends/dc/Makefile | 11 ++++------- 1 file 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 $* -- cgit v1.2.3