Updated to new libronin layout.

svn-id: r6903
This commit is contained in:
Marcus Comstedt 2003-04-03 21:51:15 +00:00
parent 03dbeae1e6
commit 77718200b9

View File

@ -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 $*