blob: f91128419c54a5d76438e0e54701c4c7eab55b07 (
plain) (
tree)
|
|
###########################################################################
#
# tiny.mak
#
# Small driver-specific example makefile
# Use make SUBTARGET=tiny to build
#
# Copyright (c) 1996-2007, Nicola Salmoria and the MAME Team.
# Visit http://mamedev.org for licensing and usage restrictions.
#
###########################################################################
MAMESRC = $(SRC)/mame
MAMEOBJ = $(OBJ)/mame
AUDIO = $(MAMEOBJ)/audio
DRIVERS = $(MAMEOBJ)/drivers
LAYOUT = $(MAMEOBJ)/layout
MACHINE = $(MAMEOBJ)/machine
VIDEO = $(MAMEOBJ)/video
OBJDIRS += \
$(AUDIO) \
$(DRIVERS) \
$(LAYOUT) \
$(MACHINE) \
$(VIDEO) \
#-------------------------------------------------
# Specify all the CPU cores necessary for the
# drivers referenced in tiny.c.
#-------------------------------------------------
CPUS += Z80
CPUS += M6502
CPUS += M6808
CPUS += M6809
#-------------------------------------------------
# Specify all the sound cores necessary for the
# drivers referenced in tiny.c.
#-------------------------------------------------
SOUNDS += CUSTOM
SOUNDS += SAMPLES
SOUNDS += DAC
SOUNDS += DISCRETE
SOUNDS += AY8910
SOUNDS += YM2151
SOUNDS += ASTROCADE
SOUNDS += TMS5220
SOUNDS += OKIM6295
SOUNDS += HC55516
#-------------------------------------------------
# This is the list of files that are necessary
# for building all of the drivers referenced
# in tiny.c
#-------------------------------------------------
DRVLIBS = \
$(MAMEOBJ)/tiny.o \
$(MACHINE)/ticket.o \
$(DRIVERS)/carpolo.o $(MACHINE)/carpolo.o $(VIDEO)/carpolo.o \
$(DRIVERS)/circus.o $(AUDIO)/circus.o $(VIDEO)/circus.o \
$(DRIVERS)/exidy.o $(AUDIO)/exidy.o $(VIDEO)/exidy.o \
$(DRIVERS)/starfire.o $(VIDEO)/starfire.o \
$(DRIVERS)/victory.o $(VIDEO)/victory.o \
$(AUDIO)/targ.o \
$(DRIVERS)/astrocde.o $(VIDEO)/astrocde.o \
$(DRIVERS)/gridlee.o $(AUDIO)/gridlee.o $(VIDEO)/gridlee.o \
$(DRIVERS)/williams.o $(MACHINE)/williams.o $(AUDIO)/williams.o $(VIDEO)/williams.o \
$(AUDIO)/gorf.o \
$(AUDIO)/wow.o \
#-------------------------------------------------
# layout dependencies
#-------------------------------------------------
$(DRIVERS)/astrocde.o: $(LAYOUT)/tenpindx.lh
$(DRIVERS)/circus.o: $(LAYOUT)/circus.lh \
$(LAYOUT)/crash.lh
|