aboutsummaryrefslogtreecommitdiff
path: root/backends/dc/Makefile
diff options
context:
space:
mode:
authorMarcus Comstedt2002-09-13 14:27:03 +0000
committerMarcus Comstedt2002-09-13 14:27:03 +0000
commit095640be3d6b99dc5395dc9301224210dca09668 (patch)
tree84f5bd736908e397c6b8c63ab82804f156d89364 /backends/dc/Makefile
parentf76527f4bf5d90c52b90856dd058858048b481bf (diff)
downloadscummvm-rg350-095640be3d6b99dc5395dc9301224210dca09668.tar.gz
scummvm-rg350-095640be3d6b99dc5395dc9301224210dca09668.tar.bz2
scummvm-rg350-095640be3d6b99dc5395dc9301224210dca09668.zip
Updated for new directory layout.
svn-id: r4931
Diffstat (limited to 'backends/dc/Makefile')
-rw-r--r--backends/dc/Makefile29
1 files changed, 12 insertions, 17 deletions
diff --git a/backends/dc/Makefile b/backends/dc/Makefile
index 18ba20d6fc..a53f440b42 100644
--- a/backends/dc/Makefile
+++ b/backends/dc/Makefile
@@ -2,38 +2,33 @@
ronindir = /usr/local/ronin
-VPATH = ..
+VPATH = ../..
-CC = sh-elf-g++ -ml -m4-single-only
+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../sound
+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
+include ../../Makefile.common
INCS += portdefs.h dc.h
-$(OBJS): Makefile sound/.create simon/.create v3/.create v4/.create ronin
-
-sound/.create:
- mkdir sound && touch $@
-
-simon/.create:
- mkdir simon && touch $@
-
-v3/.create:
- mkdir v3 && touch $@
-
-v4/.create:
- mkdir v4 && touch $@
+$(OBJS): Makefile ronin
ronin:
ln -s $(ronindir) $@
+