blob: 7589b57dcb4b8be30f5b4e6cdeba91600d902f4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $Header$
ronindir = /usr/local/ronin
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$(srcdir) -I$(srcdir)/common -I$(ronindir)/include/
CPPFLAGS= $(DEFINES) $(INCLUDES)
LIBS = -L$(ronindir)/lib -lronin -lz -lm
EXEEXT = .elf
EXECUTABLE:= scummvm$(EXEEXT)
MKDIR = mkdir -p
RM = rm -f
RM_REC = rm -rf
AR = sh-elf-ar cru
RANLIB = sh-elf-ranlib
HAVE_GCC3 = true
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
MODULE_DIRS += .
include $(srcdir)/Makefile.common
|