aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc/dreamcast.mk
blob: 1879573764dc603ed474a7d241116aa163b357c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $URL$
# $Id$

ronindir = /usr/local/ronin

CC := $(CXX)
ASFLAGS := $(CXXFLAGS)


dist : SCUMMVM.BIN plugins plugin_dist

plugin_dist :
	for p in plugins/*.plg; do \
	  if [ x'plugins/*.plg' != x"$$p" ]; then sh-elf-strip -g -o "`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`" "$$p"; fi ; \
	done

SCUMMVM.BIN : scummvm.bin
	scramble $< $@

scummvm.bin : scummvm.elf
	sh-elf-objcopy -S -R .stack -O binary $< $@