blob: 6ec1bf6ae50698c56e2e6919125d4eec8b6bd891 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
###########################################################################
#
# build.mak
#
# MAME build tools makefile
#
# Copyright (c) 1996-2007, Nicola Salmoria and the MAME Team.
# Visit http://mamedev.org for licensing and usage restrictions.
#
###########################################################################
BUILDSRC = $(SRC)/build
BUILDOBJ = $(OBJ)/build
BUILDOUT = $(BUILDOBJ)
OBJDIRS += \
$(BUILDOBJ) \
#-------------------------------------------------
# set of build targets
#-------------------------------------------------
FILE2STR = $(BUILDOUT)/file2str$(EXE)
PNG2BDC = $(BUILDOUT)/png2bdc$(EXE)
BUILD += \
$(FILE2STR) \
$(PNG2BDC) \
#-------------------------------------------------
# file2str
#-------------------------------------------------
FILE2STROBJS = \
$(BUILDOBJ)/file2str.o \
$(FILE2STR): $(FILE2STROBJS) $(LIBOCORE)
@echo Linking $@...
$(LD) $(LDFLAGS) $^ $(LIBS) -o $@
#-------------------------------------------------
# png2bdc
#-------------------------------------------------
PNG2BDCOBJS = \
$(BUILDOBJ)/png2bdc.o \
$(PNG2BDC): $(PNG2BDCOBJS) $(LIBUTIL) $(LIBOCORE) $(ZLIB) $(EXPAT)
@echo Linking $@...
$(LD) $(LDFLAGS) $^ $(LIBS) -o $@
|