summaryrefslogtreecommitdiffstatshomepage
path: root/src/build/build.mak
diff options
context:
space:
mode:
authorGravatarGravatar Aaron Giles <aaron@aarongiles.com>2007-12-17 15:19:59 +0000
committerGravatarGravatar Aaron Giles <aaron@aarongiles.com>2007-12-17 15:19:59 +0000
commit7b77f1218624ea26dbb2efd85a19f795f5d4e02e (patch)
tree19209304095572b4fd61c2a2d6a5aa75c4e471ad /src/build/build.mak
parent3da7f476068b3ffef713218ba2fc1bd5030f2c38 (diff)
Initial checkin of MAME 0.121.mame0121
Diffstat (limited to 'src/build/build.mak')
-rw-r--r--src/build/build.mak57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/build/build.mak b/src/build/build.mak
new file mode 100644
index 00000000000..6ec1bf6ae50
--- /dev/null
+++ b/src/build/build.mak
@@ -0,0 +1,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 $@