diff options
Diffstat (limited to 'src/build/build.mak')
-rw-r--r-- | src/build/build.mak | 57 |
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 $@ |