scummvm/dc/Makefile

40 lines
748 B
Makefile
Raw Normal View History

2002-02-02 15:44:27 +00:00
# $Header$
ronindir = /usr/local/ronin
2002-02-02 15:44:27 +00:00
VPATH = ..
CC = sh-elf-g++ -ml -m4-single-only
CFLAGS = -O1 -Wno-multichar
DEFINES = -D__DC__ -DNONSTANDARD_PORT -DNONSTANDARD_SAVE
2002-02-02 15:44:27 +00:00
LDFLAGS := -Wl,-Ttext,0x8c010000 -nostartfiles ronin/crt0.o
INCLUDES:= -I./ -I../ -I../sound
CPPFLAGS= $(DEFINES) $(INCLUDES)
2002-02-27 01:02:16 +00:00
LIBS = ronin/libronin.a ronin/libz.a -lm
EXEEXT =
2002-02-02 15:44:27 +00:00
OBJS = dcmain.o display.o audio.o input.o selector.o icon.o \
2002-02-27 01:02:16 +00:00
label.o vmsave.o
2002-02-02 15:44:27 +00:00
include ../Makefile.common
2002-02-02 15:44:27 +00:00
INCS += portdefs.h dc.h
2002-02-02 15:44:27 +00:00
$(OBJS): Makefile sound/.create simon/.create v3/.create v4/.create ronin
2002-02-02 15:44:27 +00:00
sound/.create:
mkdir sound && touch $@
simon/.create:
mkdir simon && touch $@
v3/.create:
mkdir v3 && touch $@
v4/.create:
mkdir v4 && touch $@
2002-02-02 15:44:27 +00:00
ronin:
ln -s $(ronindir) $@