########################################################################### # # 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 $@