aboutsummaryrefslogtreecommitdiff
path: root/backends/dc/Makefile
blob: a53f440b42e4e179d5b9c879cd7935412ac369b1 (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
31
32
33
34
# $Header$

ronindir = /usr/local/ronin

VPATH = ../..

CXX     = sh-elf-g++ -ml -m4-single-only
CFLAGS  = -O1 -Wno-multichar
DEFINES = -D__DC__ -DNONSTANDARD_PORT -DNONSTANDARD_SAVE
LDFLAGS := -Wl,-Ttext,0x8c010000 -nostartfiles ronin/crt0.o
INCLUDES:= -I./ -I../.. -I../../common
CPPFLAGS= $(DEFINES) $(INCLUDES)
LIBS	= ronin/libronin.a ronin/libz.a -lm
EXEEXT =
MKDIR = mkdir -p
ECHO = /usr/ucb/echo -n
CAT = cat
RM = rm -f
AR = sh-elf-ar cru
RANLIB = sh-elf-ranlib

OBJS =	dcmain.o display.o audio.o input.o selector.o icon.o \
	label.o vmsave.o

include ../../Makefile.common

INCS	+= portdefs.h dc.h

$(OBJS): Makefile ronin

ronin:
	ln -s $(ronindir) $@