5
5
# MAME tools makefile
7
# Copyright Nicola Salmoria and the MAME Team.
8
# Visit http://mamedev.org for licensing and usage restrictions.
7
###########################################################################
9
# Copyright Aaron Giles
10
# All rights reserved.
12
# Redistribution and use in source and binary forms, with or without
13
# modification, are permitted provided that the following conditions are
16
# * Redistributions of source code must retain the above copyright
17
# notice, this list of conditions and the following disclaimer.
18
# * Redistributions in binary form must reproduce the above copyright
19
# notice, this list of conditions and the following disclaimer in
20
# the documentation and/or other materials provided with the
22
# * Neither the name 'MAME' nor the names of its contributors may be
23
# used to endorse or promote products derived from this software
24
# without specific prior written permission.
26
# THIS SOFTWARE IS PROVIDED BY AARON GILES ''AS IS'' AND ANY EXPRESS OR
27
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
28
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29
# DISCLAIMED. IN NO EVENT SHALL AARON GILES BE LIABLE FOR ANY DIRECT,
30
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
31
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
34
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
35
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36
# POSSIBILITY OF SUCH DAMAGE.
10
38
###########################################################################
77
107
#-------------------------------------------------
109
#-------------------------------------------------
112
$(TOOLSOBJ)/unidasm.o \
114
unidasm$(EXE): $(UNIDASMOBJS) $(LIBUTIL) $(LIBOCORE) $(LIBDASM) $(ZLIB) $(EXPAT)
116
$(LD) $(LDFLAGS) $^ $(LIBS) -o $@
120
#-------------------------------------------------
79
122
#-------------------------------------------------
136
179
src2html$(EXE): $(SRC2HTMLOBJS) $(LIBUTIL) $(LIBOCORE) $(ZLIB) $(EXPAT)
137
180
@echo Linking $@...
138
181
$(LD) $(LDFLAGS) $^ $(LIBS) -o $@
185
#-------------------------------------------------
187
#-------------------------------------------------
190
$(TOOLSOBJ)/split.o \
192
split$(EXE): $(SPLITOBJS) $(LIBUTIL) $(LIBOCORE) $(ZLIB) $(EXPAT)
194
$(LD) $(LDFLAGS) $^ $(LIBS) -o $@